Forum Discussion

mpartyka's avatar
mpartyka
Contributor
9 years ago

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

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Little more context or details would better help to understand your use case.
  • 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'.