Reputation: 53
What I am trying to achieve:
Insert records into Database and verify that the count of records inserted matches with the expected count.
Steps performed:
Assertion Result:
Assertion error: false Assertion failure : true Assertion failure message: Test failed: variable(RESULT)expected to equal/
*******received : [[[[{RESULT=1}]]]] *******comparison: [[[{RESULT=1} ]]]
If this issue is resolved, I want to increment the count. Please advise.
Upvotes: 0
Views: 2857
Reputation: 130
When using the JDBC Requests, your variables are returned like this: RESULT_1, RESULT_2 and so on..so your variable is actually RESULT_1. So the short answer would be like this:
In the Response Assertion you have to do the following:
Upvotes: 0