Using Groovy Script to Generate and Validate Data in soapUI
soapUI is the leading tool for Web Service Testing, it provides extensive options for scripting to do more flexible testing, e.g. generate test data and validate it.
Let's assume a scenario, we receive a Web Services which contains id and name information, and save them to database table named 'a_table'.
1. Add following script to 'Setup Script' in TestCase:
2. Add Properties
3. Modify Test Request
4. Add Script Assertion for validation
星期四, 十二月 31, 2009
|
标签:
soapUI,
Web Services
|
订阅:
博文评论 (Atom)
0 评论:
发表评论