On Thu, Feb 23, 2012 at 5:46 PM, sebb wrote:
> On 24 February 2012 01:36, Nirodha Pramod wrote:
> > Hi,
> >
> >
> > On Thu, Feb 23, 2012 at 4:07 PM, sebb wrote:
> >
> >> On 23 February 2012 23:37, Nirodha Pramod wrote:
> >> > Hi,
> >> >
> >> > I want to test a session enabled axis2 service wit
On 24 February 2012 01:36, Nirodha Pramod wrote:
> Hi,
>
>
> On Thu, Feb 23, 2012 at 4:07 PM, sebb wrote:
>
>> On 23 February 2012 23:37, Nirodha Pramod wrote:
>> > Hi,
>> >
>> > I want to test a session enabled axis2 service with Jmeter. There's an
>> > special java client have written to test
Hi,
On Thu, Feb 23, 2012 at 4:07 PM, sebb wrote:
> On 23 February 2012 23:37, Nirodha Pramod wrote:
> > Hi,
> >
> > I want to test a session enabled axis2 service with Jmeter. There's an
> > special java client have written to test this. I want invoke that class
> > within jmeter.I tried with
On 23 February 2012 23:37, Nirodha Pramod wrote:
> Hi,
>
> I want to test a session enabled axis2 service with Jmeter. There's an
> special java client have written to test this. I want invoke that class
> within jmeter.I tried with BShell sampler. But I get an error when the test
> starts.
>
> ER
Hi
as a good practive , avoid writing this much code in Beanshell. Its simpler
to write a wrapper java client class so that all you need to do is invoke a
single method from Beanshell.
So move all your code into a java class e.g SimpleClient and have a method
say execute and just create and invoke
Hi,
I want to test a session enabled axis2 service with Jmeter. There's an
special java client have written to test this. I want invoke that class
within jmeter.I tried with BShell sampler. But I get an error when the test
starts.
ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh metho
This settings is false since 2.3.2, see:
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Cookie_Manager
*"Received Cookies can be stored as JMeter thread variables (versions of
JMeter after 2.3.2 no longer do this by default). To save cookies as
variables, define the property "Coo
Nevermind, I found the issue - it was this setting:
CookieManager.save.cookies=true
Apparently this was on by default previously in JMeter2.4 (or was configured
somewhere that I didn't know about), but adding it to
my 'user.properties' fixed the problem.
--
Robin D. Wilson
Sr
OK, I have setup a test case for this...
My test script returns 2 cookies, here's a look at the response headers from a
request to that page:
Response headers:
HTTP/1.1 200 OK
Date: Thu, 23 Feb 2012 14:51:51 GMT
Server: Apache/2.2.17 (Unix)
Expires: Thu, 02 Feb 2012 23:59:59 GMT
Set-Cookie:
Use the normal syntax:
${VARNAME}
ZK
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Beanshell-Preprocessor-and-http-sampler-tp5507712p5508096.html
Sent from the JMeter - User mailing list archive at Nabble.com.
--
Hi,
within the beanshell script you can reference variables used in the JMeter
test by:
/vars.get("yourVariableName")/
once you have done your beanshell scripting, within the beanshell script
use:
/vars.put("yourVariableName",value) /
ZK
--
View this message in context:
http://jmeter.512774
11 matches
Mail list logo