Click on a Link

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Click on a Link

Puneet Varma
I have created a record and within the record is a link that I need to fill
out below is the ID i get
ACCESS_TYPE=TEAM_ACCESS_VALUE&id=%7B170529FC-DDC4-C764-6B35-0F189B9F4FF6%7D


I am trying to figure out on how to do a regular expression on this ID.

Any help is greatly appreciated.  I have tried many different ways to get
the Jmeter to click on the link but no luck.
Reply | Threaded
Open this post in threaded view
|

Re: Click on a Link

Andrew Gibbs
Hi,


Theres's a good YouTube tutorial on JMeter and RegEx here:

https://www.youtube.com/watch?v=7-NcyZuUQnw&index=18&list=PLhW3qG5bs-L-zox1h3eIL7CZh5zJmci4c

Hope that can help you.
Andrew
________________________________
From: Puneet Varma <[hidden email]>
Sent: 17 May 2018 19:09
To: [hidden email]
Subject: Click on a Link

I have created a record and within the record is a link that I need to fill
out below is the ID i get
ACCESS_TYPE=TEAM_ACCESS_VALUE&id=%7B170529FC-DDC4-C764-6B35-0F189B9F4FF6%7D


I am trying to figure out on how to do a regular expression on this ID.

Any help is greatly appreciated.  I have tried many different ways to get
the Jmeter to click on the link but no luck.
ZK
Reply | Threaded
Open this post in threaded view
|

Re: Click on a Link

ZK
Hi,
the id is encoded with curly brackets:
ACCESS_TYPE=TEAM_ACCESS_VALUE&id=%7B170529FC-DDC4-C764-6B35-0F189B9F4FF6%7D

unencoded=:
ACCESS_TYPE=TEAM_ACCESS_VALUE&id={170529FC-DDC4-C764-6B35-0F189B9F4FF6}

If you want the regEx to get the id with the curly brackets:
id=(.+)

If you dont want the curly brackets, this is the regEx:
id=%7B(.+?)%7D



ZK



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Click on a Link

Puneet Varma
Thanks ZK.  It did detect the ID based on the Debug Sampler, but I am
unable to get it to click on the link to an additional information in the
next screen.  When the system click on the link, then it will take me to
another screen where I need to add an additional info. Any help is greatly
appreciated.

Thanks


On Fri, May 18, 2018 at 4:09 AM, ZK <[hidden email]> wrote:

> Hi,
> the id is encoded with curly brackets:
> ACCESS_TYPE=TEAM_ACCESS_VALUE&id=%7B170529FC-DDC4-C764-6B35-0F189B9F4FF6%7D
>
>
> unencoded=:
> ACCESS_TYPE=TEAM_ACCESS_VALUE&id={170529FC-DDC4-C764-6B35-0F189B9F4FF6}
>
> If you want the regEx to get the id with the curly brackets:
> id=(.+)
>
> If you dont want the curly brackets, this is the regEx:
> id=%7B(.+?)%7D
>
>
>
> ZK
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Click on a Link

Puneet Varma
In reply to this post by ZK
Thanks finally got it.

On Fri, May 18, 2018 at 4:09 AM, ZK <[hidden email]> wrote:

> Hi,
> the id is encoded with curly brackets:
> ACCESS_TYPE=TEAM_ACCESS_VALUE&id=%7B170529FC-DDC4-C764-6B35-0F189B9F4FF6%7D
>
>
> unencoded=:
> ACCESS_TYPE=TEAM_ACCESS_VALUE&id={170529FC-DDC4-C764-6B35-0F189B9F4FF6}
>
> If you want the regEx to get the id with the curly brackets:
> id=(.+)
>
> If you dont want the curly brackets, this is the regEx:
> id=%7B(.+?)%7D
>
>
>
> ZK
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>