Reputation: 3253
I have JDBC request which updating some value in database. For this request, I have two child assertions one response
and one JSR223
to check response code and updated value respectively . But I get a failed request (red) in view results tree as I think JSR223 is asserting value before it is updated. When I check database manually , value is being updated.
I was assuming that by putting response assertion before JSR223 assertion , it would be fine as JSR223 will assert when request has been fully executed.
When I disable JSR223, I get response assertion passed and hence green request in result tree.
How do I assert on the value updated by the JDBC request in this scenario ?
Upvotes: 0
Views: 320
Reputation: 168002
So double check your assertion code and inspect:
Upvotes: 1