Contains Asserion failed when running from script
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2017
05:20 AM
08-08-2017
05:20 AM
Contains Asserion failed when running from script
Hi,
I am new to soapui. i am running my project with all test suites and test cases within a single groovy script. Inside my test steps i have contains assertion in that i am checking my request parameters are equal to response for post api method.
"name":"${POST_CreateAccount#Request#$name}" i am getting this error when i am trying to run my test cases using groovy script.ERROR:An error occurred [Invalid JSON String], see error log for details.
But if i run my project without using scripts the assertions are getting passed. can anyone pls help me to resolve this issue?
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2017
01:03 AM
08-21-2017
01:03 AM
Please show the raw response for the review. And also specify what do you want to assert.
Regards,
Rao.
Regards,
Rao.
