lundi 7 décembre 2020

How can you change all appearances of a text response in Karate DSL without having a placeholder?

I am wondering if it is possible to change all occurrences of a text in a Json response from a Karate DSL text without having a placeholder. For example , the fragment "https://ift.tt/3osLWyE" appears many times in the json response of karate dsl. I cannot do it with "set" because i do not know for which keys is going to appear that text.

"imageUrl": ["https://ift.tt/3gj0yxR]

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire