I am trying to "catch" a value from a json response using regex.
The response:
{"Result":0,"ResponseStatus":{"ErrorCode":null,"Message":null,"StackTrace":null,"Errors":null},"SessionId":"5a004b3b-f610-4a4e-9a0c-9953cee9bd47","ResponseHeader":{"Succeeded":true,"Errors":[]}}
I have created a HTTP request and added a child "JSON PATH EXTRACTOR" with the following data:
Destination Variable Name: SessionId_Regex
JsonPath Expression: "SessionId":"(.{8}-.{4}-.{4}-.{4}-.{12})"
The question is: how do i use the variable of the regex in a 2nd HTTP request
Thanks :)
(.{8}-.{4}-.{4}-.{4}-.{12})?JSONparser instead! If you insist, try this regex:"SessionId":"([^"]+)"