You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by vish <ri...@gmail.com> on 2011/09/14 01:49:55 UTC
How to pass a parameter to internal request (embedded)
Hello Friends,
I have a web page load recorded with HTTP Proxy server keeping Grouping
option as "Store 1st sampler of each group only".
When I execute this page load and see in View result tree I see the internal
request link inside the main request link.
I have passed one parameter ${secureKey} to the main request link (Figure
1), but the value of this is not getting pass to the internal links. Instead
the value itself is sent as "${secureKey}" to the internal link. (Figure 2)
The value of ${secureKey} is successfully passed to the main link.
Does any one knows how can we pass the parameters successfully to the
internal links?
Thanks,
Vish
http://jmeter.512774.n5.nabble.com/file/n4800759/Figure_1.jpg
http://jmeter.512774.n5.nabble.com/file/n4800759/Figure_2.jpg
-----
Thanks,
Vish
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-pass-a-parameter-to-internal-request-embedded-tp4800759p4800759.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: How to pass a parameter to internal request (embedded)
Posted by vish <ri...@gmail.com>.
Thanks Oliver, I kind of understood your point and agree to it.
When I record the page load with Grouping option - "Do not group samplers",
all separate requests for images, js, css aspx get recorded. I used the main
aspx recorded request and was able to achieve the graph result as per
different parameters which I passed.
-----
Thanks,
Vish
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-pass-a-parameter-to-internal-request-embedded-tp4800759p4808648.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: How to pass a parameter to internal request (embedded)
Posted by Oliver Lloyd <ol...@hotmail.com>.
I'm not sure that you are passing things as correctly as you think. Just
ignore the referer and focus on the actual request (top of the Request tab).
These 'internal' request are not (normally) called by JMeter and you cannot
directly pass anything to them - they are variously called page resources,
static content, embedded resources etc. all means the same thing. My advice:
Take a spin around the internet using those keywords - you need to
understand the basics of this stuff to really get anywhere with jmeter.
-----
http://www.http503.com/
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-pass-a-parameter-to-internal-request-embedded-tp4800759p4804106.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: How to pass a parameter to internal request (embedded)
Posted by vish <ri...@gmail.com>.
Thanks Oliver, actually i am still learning Jmeter.
The reason why I posted this problem was, I am getting the same report chart
displayed in response of the last internal link for all the users. I am
passing different parameters successfully to this report link.
Thanks,
Vish
-----
Thanks,
Vish
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-pass-a-parameter-to-internal-request-embedded-tp4800759p4803978.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: How to pass a parameter to internal request (embedded)
Posted by Oliver Lloyd <ol...@hotmail.com>.
The referer is not the request, it is from where the request was referred.
-----
http://www.http503.com/
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-pass-a-parameter-to-internal-request-embedded-tp4800759p4801913.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