You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by jmeter-user <mi...@o2.pl> on 2009/04/28 14:39:35 UTC
Jmeter - question ( Regular Expression Extractor ) HELP?!
Hello,
I Have question about JMETER JAKARTA , so :
Ja have JDBC REQUEST
1)
SELECT SERVICE.ID from SERVICE where name = ‘test’
http://www.nabble.com/file/p23276281/jmeter0.png
And I Have in RESPONSE ID = 713
What I do Configure Regular Expression Extractor ???
this Post Procesor must read ID = 713 and PUT in next SELECT :
2)
SELECT * FROM PAYMENT_POINT
Where payment_point.service_id = PUT ID HERE
http://www.nabble.com/file/p23276281/jmeter1.png
http://www.nabble.com/file/p23276281/jmeter2.png
My question what how I should configure Regular Expression Extractor
Reference name : ????
Regular Expression : ????
Temaplate : ????
Match No. : ????
Default : ???
I thank yor for HELP J
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23276281.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
One more question about RE
I need Read PAYMENT_DEFINITION_ID :
http://www.nabble.com/file/p23500686/BAZA1.jpg
http://www.nabble.com/file/p23500686/BAZA2.jpg
http://www.nabble.com/file/p23500686/BAZA3.jpg
http://www.nabble.com/file/p23500686/BAZA4.jpg
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23500686.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
ok WORK ! :)
I must change In Regular expression Extractor in section Response Field to
check
- Body
;)
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23294285.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
when I put i Default value : ID
Jmeter send request :
SELECT * FROM PAYMENT_POINT
where payment_point.service_id = ID
I add Debug sampler ( and here id= ) lack id
http://www.nabble.com/file/p23292982/2.png
I add in user parameter ID (variable )
http://www.nabble.com/file/p23292982/1.png
http://www.nabble.com/file/p23292982/3.png
http://www.nabble.com/file/p23292982/4.png
http://www.nabble.com/file/p23292982/5.png
and still error
Which means the variable is not being defined
Make sure you have a Default value, and try again.
It should show the default value
Also try adding a Debug Sampler to show the value if the "id" variable.
On 28/04/2009, jmeter-user <mi...@o2.pl> wrote:
>
> ohhh yes .. sorry !
>
> Actally Request pane in the Tree View Listener :
>
> http://www.nabble.com/file/p23279143/req.png
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23292982.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by sebb <se...@gmail.com>.
Which means the variable is not being defined
Make sure you have a Default value, and try again.
It should show the default value
Also try adding a Debug Sampler to show the value if the "id" variable.
On 28/04/2009, jmeter-user <mi...@o2.pl> wrote:
>
> ohhh yes .. sorry !
>
> Actally Request pane in the Tree View Listener :
>
> http://www.nabble.com/file/p23279143/req.png
>
> --------------
>
>
> On 28/04/2009, jmeter-user <mi...@o2.pl> wrote:
> >
> > actually sending :
> >
> > http://www.nabble.com/file/p23278658/send.png
>
> I meant the Request pane in the Tree View Listener.
>
>
> --
>
> View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23279143.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
ohhh yes .. sorry !
Actally Request pane in the Tree View Listener :
http://www.nabble.com/file/p23279143/req.png
--------------
On 28/04/2009, jmeter-user <mi...@o2.pl> wrote:
>
> actually sending :
>
> http://www.nabble.com/file/p23278658/send.png
I meant the Request pane in the Tree View Listener.
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23279143.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by sebb <se...@gmail.com>.
On 28/04/2009, jmeter-user <mi...@o2.pl> wrote:
>
> actually sending :
>
> http://www.nabble.com/file/p23278658/send.png
I meant the Request pane in the Tree View Listener.
> --------------
>
>
> Check the Request pane to see what the JDBC sampler is actually sending.
>
> Then you will know if the ${id) is being interpolated correctly or not.
>
>
>
> --
> View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23278658.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
still problem
maybe I must change settings in User Parameteres
http://www.nabble.com/file/p23278449/user.png
or in Test Plan
http://www.nabble.com/file/p23278449/test.png
-------------
Try for the expression (\d+)$ instead of (\d+)
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23278449.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
actually sending :
http://www.nabble.com/file/p23278658/send.png
--------------
Check the Request pane to see what the JDBC sampler is actually sending.
Then you will know if the ${id) is being interpolated correctly or not.
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23278658.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by sebb <se...@gmail.com>.
Check the Request pane to see what the JDBC sampler is actually sending.
Then you will know if the ${id) is being interpolated correctly or not.
On 28/04/2009, Suvendu_Mohapatra <Su...@satyam.com> wrote:
> Try for the expression (\d+)$ instead of (\d+)
>
>
> With Regards,
> Suvendu
>
>
> -----Original Message-----
> From: jmeter-user [mailto:michalm24@o2.pl]
>
> Sent: Tuesday, April 28, 2009 7:20 PM
> To: jmeter-user@jakarta.apache.org
>
> Subject: RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
>
>
> still error :(
>
> now I Have :
>
> http://www.nabble.com/file/p23277547/5.png
>
> and sampler result :-((
>
> http://www.nabble.com/file/p23277547/6.png
>
> and JDBC request :
>
> SELECT * FROM PAYMENT_POINT
> where payment_point.service_id = ${id}
>
>
> -----------------------------
>
> Please use "ID" instead of "response id" in regular expression....
>
> With Regards,
> Suvendu
>
>
> --
> View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23277547.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by Suvendu_Mohapatra <Su...@satyam.com>.
Try for the expression (\d+)$ instead of (\d+)
With Regards,
Suvendu
-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Tuesday, April 28, 2009 7:20 PM
To: jmeter-user@jakarta.apache.org
Subject: RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
still error :(
now I Have :
http://www.nabble.com/file/p23277547/5.png
and sampler result :-((
http://www.nabble.com/file/p23277547/6.png
and JDBC request :
SELECT * FROM PAYMENT_POINT
where payment_point.service_id = ${id}
-----------------------------
Please use "ID" instead of "response id" in regular expression....
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23277547.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
still error :(
now I Have :
http://www.nabble.com/file/p23277547/5.png
and sampler result :-((
http://www.nabble.com/file/p23277547/6.png
and JDBC request :
SELECT * FROM PAYMENT_POINT
where payment_point.service_id = ${id}
-----------------------------
Please use "ID" instead of "response id" in regular expression....
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23277547.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by Suvendu_Mohapatra <Su...@satyam.com>.
Please use "ID" instead of "response id" in regular expression....
With Regards,
Suvendu
-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Tuesday, April 28, 2009 6:56 PM
To: jmeter-user@jakarta.apache.org
Subject: Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
still error :
http://www.nabble.com/file/p23277154/4.png
Polish translate :
Nieobsługiwany token = not served token SQL92 - position: 66: ID
-----------------------------------------
The ${id} is correct. Try this regular expression: ID[^0-9]*([0-9]+)
Ronan
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23277154.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
still error :
http://www.nabble.com/file/p23277154/4.png
Polish translate :
Nieobsługiwany token = not served token SQL92 - position: 66: ID
-----------------------------------------
The ${id} is correct. Try this regular expression: ID[^0-9]*([0-9]+)
Ronan
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23277154.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by Ronan Klyne <ro...@groupbc.com>.
The ${id} is correct. Try this regular expression: ID[^0-9]*([0-9]+)
Ronan
jmeter-user wrote:
> ok , I have configure now :
>
> http://www.nabble.com/file/p23276856/1.png
>
> and I have RESPONSE , THIS :
>
> http://www.nabble.com/file/p23276856/2.png
>
> And what I put here Here ?? there must read previous ID :
>
> http://www.nabble.com/file/p23276856/3.png
>
> this value ${id} id good ???
>
> THANKS FOR HELP ! :)
>
>
>
> Sorry, I forgot to mention one thing in regular expression.
>
> In regular expression you should write in following way:
>
> Regular Expression : RESPONSE ID = (\d+)
>
> And also check where are you finding the response id(means choose the proper
> radio button for "response field to check")
>
> With Regards,
> Suvendu
>
>
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028515
ronan.klyne@groupbc.com
http://www.groupbc.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
ok , I have configure now :
http://www.nabble.com/file/p23276856/1.png
and I have RESPONSE , THIS :
http://www.nabble.com/file/p23276856/2.png
And what I put here Here ?? there must read previous ID :
http://www.nabble.com/file/p23276856/3.png
this value ${id} id good ???
THANKS FOR HELP ! :)
Sorry, I forgot to mention one thing in regular expression.
In regular expression you should write in following way:
Regular Expression : RESPONSE ID = (\d+)
And also check where are you finding the response id(means choose the proper
radio button for "response field to check")
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23276856.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by Suvendu_Mohapatra <Su...@satyam.com>.
Sorry, I forgot to mention one thing in regular expression.
In regular expression you should write in following way:
Regular Expression : RESPONSE ID = (\d+)
And also check where are you finding the response id(means choose the proper radio button for "response field to check")
With Regards,
Suvendu
-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Tuesday, April 28, 2009 6:24 PM
To: jmeter-user@jakarta.apache.org
Subject: RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
thank you for answer , and what I put
in :
SELECT * FROM PAYMENT_POINT
where payment_point.service_id = ${id}
when I put ${id} - not work
--------------------------------------------
Reference name : id
Regular Expression : (\d+)
Temaplate : $1$
Match No. : 1
Default :
Please try this...it may help you....
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23276572.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by jmeter-user <mi...@o2.pl>.
thank you for answer , and what I put
in :
SELECT * FROM PAYMENT_POINT
where payment_point.service_id = ${id}
when I put ${id} - not work
--------------------------------------------
Reference name : id
Regular Expression : (\d+)
Temaplate : $1$
Match No. : 1
Default :
Please try this...it may help you....
With Regards,
Suvendu
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23276572.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter - question ( Regular Expression Extractor ) HELP?!
Posted by Suvendu_Mohapatra <Su...@satyam.com>.
Reference name : id
Regular Expression : (\d+)
Temaplate : $1$
Match No. : 1
Default :
Please try this...it may help you....
With Regards,
Suvendu
-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Tuesday, April 28, 2009 6:10 PM
To: jmeter-user@jakarta.apache.org
Subject: Jmeter - question ( Regular Expression Extractor ) HELP?!
Hello,
I Have question about JMETER JAKARTA , so :
Ja have JDBC REQUEST
1)
SELECT SERVICE.ID from SERVICE where name = ‘test’
http://www.nabble.com/file/p23276281/jmeter0.png
And I Have in RESPONSE ID = 713
What I do Configure Regular Expression Extractor ???
this Post Procesor must read ID = 713 and PUT in next SELECT :
2)
SELECT * FROM PAYMENT_POINT
Where payment_point.service_id = PUT ID HERE
http://www.nabble.com/file/p23276281/jmeter1.png
http://www.nabble.com/file/p23276281/jmeter2.png
My question what how I should configure Regular Expression Extractor
Reference name : ????
Regular Expression : ????
Temaplate : ????
Match No. : ????
Default : ???
I thank yor for HELP J
--
View this message in context: http://www.nabble.com/Jmeter---question-%28-Regular-Expression-Extractor-%29-HELP-%21-tp23276281p23276281.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.