Use a JSR223 to strip the http part before passing into the next request
On Monday, February 20, 2023 at 12:51:58 PM EST, Sunil Malgaya
<[email protected]> wrote:
Thanks Jun for the response. The problem is if I use JSON extractor, I get
a fully constructed url and so far I did not find any way to pass that on
as is to the next request (because when I pass this to the next request I
get an exception that http is already added to the url).
Thanks,
Sunil
On Mon, Feb 20, 2023 at 12:31 PM Jun Zhuang <[email protected]>
wrote:
> Since the response is JSON, why not using JSON extractor directly? Or
> just substring with left boundary = GUID- and right boundary = "
>
> On Monday, February 20, 2023 at 11:56:24 AM EST, Sunil Malgaya <
> [email protected]> wrote:
>
> JMeter experts,
>
> I need to get some help regarding regular expression extractor using
> JMeter.
>
> From json response I need to extract complete GUID info from a url string:
>
> "url": "https:\/\/abcdazurewebsites.net <http://abcazurewebsites.net/>
> \/api\/collection\/titletext\/GUID-98035E11-41F8-4696-ABCD-6980AC22Z36D",
>
> the output should be:GUID-98035E11-41F8-4696-ABCD-6980AC22Z36D
>
> Any help will be appreciated on this matter.
>
> Thanks,
> Sunil
>