jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: RegExp Extractor
Date Mon, 24 Jun 2013 21:51:45 GMT
/chela/([^/]+)/

Note the way you are using * is incorrect for a regex


On Mon, Jun 24, 2013 at 2:45 PM, umesh prajapati <praumesh86@gmail.com>wrote:

> Hi,
>
> I would like to extract a word that contains both letters and number from a
> url. How can I achieve this.
>
> For example:
> URL is:
> https://abc.com/defgh/chela/fff12deg21f/classes?includeDeleted=false
>
> If I would like to extract "fff12deg21f" from the above URL and use this on
> the other http request. How can I do this?
>
> I added Regular Express Extractor to my Http Reques Sampler
> In RegExp Extractor GUI
> Apply to: main sampley only
> Response Field to check: URL
> Reference Name:stud
> Regular Expression: */chela/(.+?)/*
> Template:
> Match No. (0 for Random):
> Default Value:
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message