Contributions
- 5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes1Comment
Re: Script Assertion
Hi Rao, Thank you very much for the solution. It's working. And just wanted to know how to set the expectation if trueCount or falseCount is greater than (>) or lesser than (< ) some value. for e.g. If I need to define the count of true > 2 Thanks in advance :) Regards, NinjaMarvel5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes3CommentsScript Assertion
I am using ReadyAPI and I am getting following response from API in JSON. { "message" : "IDs found for the given request", "ids" : [ { "id" : 3831740, "Member" : false }, { "id" : 5088068, "Member" : false }, { "id" : 17424086, "Member" : true }, { "id" : 17425459, "Member" : true } ] } I need to add assertion to find count of the "Member" for true and false separately. Exactly assertion required: Find count of "Member" : true Find count of "Member" : falseSolved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes8Comments