cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to create an assertion for JSONPath Count > 1 ?

Highlighted
Contributor

Is there any way to create an assertion for JSONPath Count > 1 ?

 
2 REPLIES 2
Highlighted
Community Hero

Re: Is there any way to create an assertion for JSONPath Count > 1 ?

Little more context or details would better help to understand your use case.


Regards,
Rao.
Highlighted
Staff

Re: Is there any way to create an assertion for JSONPath Count > 1 ?

Hi,

The JSONPath count is for that you already have the expected node numbers. Do you have uncertain numbers for one node?

 

If you realy want to see wether one node couts is > 1, you may use script assertion to achieve that. Or  you could use the 'assertion test step' to combine two or more possible JSONPath count assertions in one group with operation 'OR'.

Regards,
/Li
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors