Kumaran
Kumaran

Reputation: 13

Need to extract the JSON in between result values and pass in the regular extraction

I getting the JSON results as below enter image description here

In which i want to extract the values after Amz-Signature=9889872081660e079248ff5a793726868b7de264832aa698fc7d6af6fd8d2674",

Upvotes: 0

Views: 88

Answers (1)

Dmitri T
Dmitri T

Reputation: 168217

I would suggest doing it in 2 steps:

  1. First extract thumbnailUrl value using JSON extractor, something like:

    enter image description here

    the configuration is for example/demo purposes only, I need to see the full JSON in order to come up with the comprehensive JsonPath query, if you cannot post it as it contains sensitive data check out How to Use the JSON Extractor For Testing article

  2. Then extract the Amz-Signature value from the thumbnailUrl variable using i.e. Boundary Extractor:

    enter image description here

  3. That's it, you should be able to use extracted value as ${Amz-Signature} JMeter Variable where required.

Upvotes: 1

Related Questions