Re: java.lang.StringIndexOutOfBoundsException: String index out of range in ApacheJMeter_core.jar:5.3

2020-09-19 Thread Niraj
PFA my JMeter script.

On Sat, Sep 19, 2020 at 12:38 AM Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
> Am 18.09.20 um 19:27 schrieb Mariusz W:
> > Felix,
> > I think that problem may be connected with default threadName value in
> > SampleResult:
> > private String threadName = "";
> >
> > and the way WebsocketSampler create sample result:
> >
> https://bitbucket.org/pjtr/jmeter-websocket-samplers/src/master/src/main/java/eu/luminis/jmeter/wssampler/WebsocketSampler.java#lines-120
> >
> > SampleResult result = new SampleResult();
> > result.setSampleLabel(getName());
> >
> > and all this is connected with TransactionController.sampleOccured:
> > SampleResult sampleResult = se.getResult();
> > res.setThreadName(sampleResult.getThreadName()); // <- still ""
> >
> > such a hypothesis...:)
>
> Might be. I haven't looked into the sources of websocket sampler yet.
> But I did setup a simple test with one websocket sampler and it did fill
> in the thread name correctly.
>
> I think it is OK to guard against a threadname without any space and use
> the thread name completely in that case. I would like to see such a
> case, though.
>
> Felix
>
> >
> > Mariusz
> >
> > On Fri, 18 Sep 2020 at 16:45, Felix Schumacher <
> > felix.schumac...@internetallee.de> wrote:
> >
> >> Am 18.09.20 um 15:39 schrieb Niraj:
> >>> Perfect. It worked. Thanks Mariusz. Really Appreciated it.
> >> Could you provide us a minimal test plan to reproduce the issue (even
> >> knowing, that the workaround helped you)?
> >>
> >> I think we shouldn't throw an exception in case the thread name is not
> >> exactly like we thought it would be.
> >>
> >> Thanks
> >>
> >>  Felix
> >>
> >>> On Fri, Sep 18, 2020 at 6:49 PM Mariusz W  wrote:
> >>>
> >>>> Hi,
> >>>> Can you try uncheck "include group name in label" in  Aggregate Report
> >> and
> >>>> recheck?
> >>>>
> >>>> Mariusz
> >>>>
> >>>> On Fri, 18 Sep 2020 at 14:48, Niraj  wrote:
> >>>>
> >>>>> Hi All,
> >>>>>
> >>>>> I am getting below error in JMeter. When I run the test with more
> than
> >> 10
> >>>>> users, Basically I am running a few Websocket requests using the
> >>>> WebSocket
> >>>>> plugin (WebSocket Samplers by Peter Doornbosch). Any suggestions on
> how
> >>>> to
> >>>>> fix this?
> >>>>>
> >>>>> java.lang.StringIndexOutOfBoundsException: String index out of range:
> >> -1
> >>>>> at java.lang.String.substring(Unknown Source) ~[?:1.8.0_261]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.samplers.SampleResult.getSampleLabel(SampleResult.java:586)
> >>>>> ~[ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>
> org.apache.jmeter.visualizers.StatVisualizer.add(StatVisualizer.java:118)
> >>>>> ~[ApacheJMeter_components.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:570)
> >>>>> ~[ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:547)
> >>>>> ~[ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:58)
> >>>>> [ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.control.TransactionController.notifyListeners(TransactionController.java:296)
> >>>>> [ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:223)
> >>>>> [ApacheJMeter_core.jar:5.3]
> >>>>> at
> >>>>>
> >>>>>
> >>
> org.apache.jmeter.contro

Re: java.lang.StringIndexOutOfBoundsException: String index out of range in ApacheJMeter_core.jar:5.3

2020-09-18 Thread Niraj
Perfect. It worked. Thanks Mariusz. Really Appreciated it.

On Fri, Sep 18, 2020 at 6:49 PM Mariusz W  wrote:

> Hi,
> Can you try uncheck "include group name in label" in  Aggregate Report and
> recheck?
>
> Mariusz
>
> On Fri, 18 Sep 2020 at 14:48, Niraj  wrote:
>
> > Hi All,
> >
> > I am getting below error in JMeter. When I run the test with more than 10
> > users, Basically I am running a few Websocket requests using the
> WebSocket
> > plugin (WebSocket Samplers by Peter Doornbosch). Any suggestions on how
> to
> > fix this?
> >
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> > at java.lang.String.substring(Unknown Source) ~[?:1.8.0_261]
> > at
> >
> >
> org.apache.jmeter.samplers.SampleResult.getSampleLabel(SampleResult.java:586)
> > ~[ApacheJMeter_core.jar:5.3]
> > at
> > org.apache.jmeter.visualizers.StatVisualizer.add(StatVisualizer.java:118)
> > ~[ApacheJMeter_components.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:570)
> > ~[ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:547)
> > ~[ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:58)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.notifyListeners(TransactionController.java:296)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:223)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.nextIsAController(TransactionController.java:173)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:205)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:221)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
> > [ApacheJMeter_core.jar:5.3]
> > at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
> > [ApacheJMeter_core.jar:5.3]
> > at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
> > [ApacheJMeter_core.jar:5.3]
> > at
> >
> >
> org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:91)
> > [ApacheJMeter_core.jar:5.3]
> > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:291)
> > [ApacheJMeter_core.jar:5.3]
> > at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
> >
> > Thanks,
> > Niraj
> >
>


java.lang.StringIndexOutOfBoundsException: String index out of range in ApacheJMeter_core.jar:5.3

2020-09-18 Thread Niraj
Hi All,

I am getting below error in JMeter. When I run the test with more than 10
users, Basically I am running a few Websocket requests using the WebSocket
plugin (WebSocket Samplers by Peter Doornbosch). Any suggestions on how to
fix this?

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source) ~[?:1.8.0_261]
at
org.apache.jmeter.samplers.SampleResult.getSampleLabel(SampleResult.java:586)
~[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.visualizers.StatVisualizer.add(StatVisualizer.java:118)
~[ApacheJMeter_components.jar:5.3]
at
org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:570)
~[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:547)
~[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:58)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.notifyListeners(TransactionController.java:296)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:223)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.nextIsAController(TransactionController.java:173)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.next(GenericController.java:174)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:205)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:221)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.next(GenericController.java:174)
[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.control.GenericController.next(GenericController.java:174)
[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:91)
[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:291)
[ApacheJMeter_core.jar:5.3]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]

Thanks,
Niraj


Re: Handling Asynchronous API Call in Jmeter

2019-08-19 Thread Niraj
How about adding two thread groups? API call within first thread group and
Message to JMS will be in other. Add Startup delay in the second thread
group. This should work i guess.

On Mon, Aug 19, 2019 at 1:28 PM pratik thorve 
wrote:

> Hello All,
>
> I am stuck with the below problem and need help from the experts !
> I am using Jmeter for functional test purpose (Please dont curse me on this
> :( )
> We have configured 1 thread group as 1 TC.
> So in my 1 thread i have all the steps that are related to 1 TC.
>
> Problem :
>
> First TC consists of 2 Call (Samplers) , API Call and JMS Point to Point
> message.
> Now the flow is :
> 1) Do the API call and wait for results (it works for 60 sec (running) and
> then return the results)
> 2) Send the message to JMS (Active MQ)
>
> Now the API call will return a success message only when the second step is
> executed.
> But since Jmeter executes the samplers one by one , my exeuction is stuck
> at first step.
> The second step is executed only when the first step (api call) is
> completed.
>
> I want to the run the first step (api call) , then trigger the seconds step
> (while the first step is still under execution)
> So that the message from the seconds step can be processed by the
> application and get the result for the same in 1st step
>
> Tried and Not working :
> Used parallel executor and put both the samplers under the same , so that
> they are triggered together.
> Then added a delay to the seconds step.
> Looks like the delay does not work and both the request are sent at the
> same time.
>
> Please let me know if there is any way i can implement this.
>
>
> Pratik
>


Re: JMeter Response time exclude response times form Failed transactions

2019-06-06 Thread Niraj
I have written code to do exact same thing in JSR223 post processor.


On Fri, 7 Jun 2019 at 1:23 AM, UserJMeter999  wrote:

> JMeter Response time exclude response times form Failed transactions
>
> If successful transaction takes on avg 20 secs but failed one will fail in
> 2
> secs. Since Jmeter is including failed response times along with passed one
> for avg response calculation. Avg response time is showing lesser compared
> to actual.
>
> Is there any way to configure Jmeter to just include success samplers
> response time into overall avg response time calculation.?
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>


Need help on on Groovy or condition

2019-05-06 Thread Niraj
Hi,

Can someone please tell me what is wrong in below code? I am trying to
verify if testName is not equal to test 1 or test 2. Both expressions are
not working.


${__groovy(!vars.get('testName').contains("test1"))} ||
${__groovy(!vars.get('testName').contains("test2"),)}

${__groovy(!vars.get('testName').contains(" test1 ")||(" test2 ),)}

Thanks in advance,
Niraj


Re: Need Help on grovvy script for OR (||) condition

2019-05-06 Thread Niraj
Found solution! Kindly ignore my email! Thanks

On Mon, May 6, 2019 at 12:48 PM Niraj  wrote:

> Hi,
>
> Can someone please help me with a groovy script?
>
> I have added one If Controller and added below condition.
>
> ${__groovy(vars.get('testName').contains("test1"),)}
>
> This works fine for me when testName is test1. Requests below IF
> controllers gets executed.
>
> But when I want OR(||) or And (&&) Condition in same grovvy script,
> JMeter
>
>
> ${__groovy(vars.get('testName').contains("test2")||(vars.get('testName').contains("test3"),)}
> I am getting below error
> org.apache.jmeter.functions.InvalidVariableException: Expected } after
> __groovy function call in
> ${__groovy((vars.get('testName').contains("GetUnderlyingDetails")||(vars.get('testName').contains("G
>
> Kindly help to get groovy script with OR condition.
>
>
> Thanks in advance!
> -Niraj
>


Need Help on grovvy script for OR (||) condition

2019-05-06 Thread Niraj
Hi,

Can someone please help me with a groovy script?

I have added one If Controller and added below condition.

${__groovy(vars.get('testName').contains("test1"),)}

This works fine for me when testName is test1. Requests below IF
controllers gets executed.

But when I want OR(||) or And (&&) Condition in same grovvy script, JMeter


${__groovy(vars.get('testName').contains("test2")||(vars.get('testName').contains("test3"),)}
I am getting below error
org.apache.jmeter.functions.InvalidVariableException: Expected } after
__groovy function call in
${__groovy((vars.get('testName').contains("GetUnderlyingDetails")||(vars.get('testName').contains("G

Kindly help to get groovy script with OR condition.


Thanks in advance!
-Niraj


Re: Need specific data from response message

2017-11-06 Thread Niraj
I would suggest you Regex may be to extract required data then use
Beanshell Postporcessor where you can define File name and location. Then
call extraced variable in Beanshell and write into file.

On Mon, 6 Nov 2017 at 9:15 PM, praveen tiwari 
wrote:

> Hi,
>
> But where I can define the filename where I need to save data in JSON path
> post-processor?
>
> On 06-Nov-2017 8:46 pm, "Antonio Gomes Rodrigues" 
> wrote:
>
> > Hi,
> >
> > You can use an Extractor (for example an JSON Extractor) and save it in a
> > file
> >
> > Antonio
> >
> > 2017-11-06 15:55 GMT+01:00 praveen tiwari :
> >
> > > Hi All,
> > >
> > > I am getting response for a API request and able to save it in JSON
> file
> > > using save response to a file listener.
> > > I need to fetch only specific records from response message. E.g. in
> > > response their are 10 parameters but I need to save only 4 parameters
> in
> > > file.
> > > Any help would be highly appreciated.
> > >
> >
>


Re: Working with windows authentication based web application in jmeter

2017-10-26 Thread Niraj
I have written blogged about it. Please checkout below link for more
details.

http://testersinaction.blogspot.in/2015/03/jmeter-with-ntlm-authentication.html?m=1

Please let me know in case it doesn’t work.


On Thu, 26 Oct 2017 at 2:44 PM, Pravesh Prajapati <
prajapati.prav...@gmail.com> wrote:

> Please use Windows authorization manager of jmeter for handling this
>
> On Thursday, October 26, 2017, abserali1 .  wrote:
>
> > Hi Team,
> >
> > Could you please help us on how to prepare Jmeter script for web
> > application which is logged in using Windows authentication
> > automatically...
> >
> > We recorded application and tried to run script . But getting an error...
> >
> > Please  give us direction for this issue.
> >
>
>
> --
> Regards,
> Pravesh prajapati.
> Mob:-9702600170
>


Re: error during HTTPS recoding

2016-02-15 Thread Niraj
Mahesh rav , which Jmeter version u have used? 2.13 will create it's own
Certificate which overwrite your own certificate. I am not sure with this
error people can tell u much. But have you tried with 2.9 version?
Hi,

I have own SSL certificate and imported it in chrome browser., however
while recording the website, getting error in browser. Could you please
help me to solve it?

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown
Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:436)
at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at
org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.open(MeasuringConnectionManager.java:107)
at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:517)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:331)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:240)


--
Thanks,
Mahesh


Error Handling in Jmeter

2015-07-02 Thread Niraj
Hello,

My Jmeter script have only one request which get's input from CSV file and
which executes 1000 times.

Now what I want, if my request failed for more than 10 times, I need to
stop my Jmeter test automatically.

I know there is Test Action sampler. But I am not sure how can get failure
count. I can use If controller. But what condition should I use so after 10
request failed. My If loop will execute and Test Action sampler will stop
my test.

If there is any other option, please let me know.

Thanks,
Niraj


RE: Jenkins and Jmeter

2015-07-01 Thread Niraj
Click Add Parameter. Select String parameter from the list.

Give parameter name as user.
Default value as ${users}

While running Jmeter script from non gui mode use below example
Jmeter.bat -n -t test.jmx -l result.jtl -Jusers=%user%

In Jmeter, Thread properties for Number of users you should use ${_P(users)}

Hopefully this will help
 On Jun 30, 2015 5:09 PM, Erez Naim e...@theneura.com wrote:

 Thanks!

 On Jun 30, 2015 2:26 PM, Niraj niraj.khatm...@gmail.com wrote:
 
  Not in office now. I will share example tomorrow morning.
  On Jun 30, 2015 4:52 PM, Erez Naim e...@theneura.com wrote:
 
   Thanks for the quick response, can you please provide me an example as
 I
   am new to Jenkins... thanks!
  
   -Original Message-
   From: Niraj [mailto:niraj.khatm...@gmail.com]
   Sent: Tuesday, June 30, 2015 2:17 PM
   To: JMeter Users List
   Subject: Re: Jenkins and Jmeter
  
   Declare as a property in Jmeter. Use String parameters in Jenkins. Pass
   all the values while running Jmeter script.
  
   Declare user as property in Jmeter
   Create String parameter as user in Jenkins Pass as -juser while running
   Jmeter test from Jenkins On Jun 30, 2015 4:41 PM, Erez Naim 
   e...@theneura.com wrote:
  
Hi all,
   
   
   
I have set Jmeter running together with Maven + Jenkins, everything
 is
cool and I am able to run my Jmeter scripts my problems begin when I
try to set outer parameters (external variables such as ramp up time
and number of threads), where can I put the variables on Jenkins?
   
   
   
Erez Naim  |  QA Lead  |   [image: LinkedIn]
http://www.linkedin.com/profile/view?id=34323263  [image: vCard]
http://www.theneura.com/vCards/gilad.vcf  [image: Twitter]
http://twitter.com/#!/giladmeiri/
   
[image: cid:image004.png@01D01E1B.5F153500]
   
EL AL 2 Street | Herzliya
mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura
   
   
   
website http://www.theneura.com/  |  blog
http://www.startupbitz.com/  |  twitter
https://twitter.com/intent/user?screen_name=theneura  |  map
http://goo.gl/maps/ZRkg5
   
   
   
   
   
  
  
   -
   To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
   For additional commands, e-mail: user-h...@jmeter.apache.org
  
  



Re: Jenkins and Jmeter

2015-06-30 Thread Niraj
Declare as a property in Jmeter. Use String parameters in Jenkins. Pass all
the values while running Jmeter script.

Declare user as property in Jmeter
Create String parameter as user in Jenkins
Pass as -juser while running Jmeter test from Jenkins
On Jun 30, 2015 4:41 PM, Erez Naim e...@theneura.com wrote:

 Hi all,



 I have set Jmeter running together with Maven + Jenkins, everything is
 cool and I am able to run my Jmeter scripts my problems begin when I try to
 set outer parameters (external variables such as ramp up time and number of
 threads), where can I put the variables on Jenkins?



 Erez Naim  |  QA Lead  |   [image: LinkedIn]
 http://www.linkedin.com/profile/view?id=34323263  [image: vCard]
 http://www.theneura.com/vCards/gilad.vcf  [image: Twitter]
 http://twitter.com/#!/giladmeiri/

 [image: cid:image004.png@01D01E1B.5F153500]

 EL AL 2 Street | Herzliya
 mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura



 website http://www.theneura.com/  |  blog http://www.startupbitz.com/
  |  twitter https://twitter.com/intent/user?screen_name=theneura  |  map
 http://goo.gl/maps/ZRkg5







Re: Getting Wrong Format Response

2015-04-17 Thread Niraj
Can you check if you get same response in Fiddler?
On Apr 18, 2015 3:11 AM, Deepak Shetty shet...@gmail.com wrote:

 is your response being gzipped etc?

 On Fri, Apr 17, 2015 at 6:15 AM, Zyaad Gungapersad 
 zyaad.gungaper...@prodigious.mu wrote:

  Hello Guys,
 
 
 
  I am currently facing an issue with the response of a particular request.
 
 
 
  I am getting the following response: «VòÊOòLQ²26765ÖQ
 
  (ÊÏJM.‰™E€ò!•©`5:Jn™EÅ%.©9™e©E•.‰%©JVy¥99 ‰¼Ä l NE™©i.¥©ÈŠ
 
_
 
  2 ‹S °c 4ÁhŠMÐ
  › 96A
  l‚–h‚pÿ ;¿
 
 
 
  There is something that 1 need to retrieve from that response for the
 next
  request to work.
 
 
 
  Normally, the request is a Get method and the reponse should have been
  something like the following:
 
 [{ClientId:1,Name:AfghanistanClient},{ClientId:2,Name:BrazilClient},{ClientId:3,Name:FranceClient},{ClientId:4,Name:IndiaClient},{ClientId:5,Name:MauritiusClient}]
 
 
 
  Do you guys have any idea of what is causing this issue to happen? Note:
  This was working fine before, but there were a lot of changes to the
  application since.
 
 
 
  Your help will be much appreciated.
 
 
 
  Kind Regards
 
  Zyaad
 
 
 
 
 
 
 
 



Re: Jmeter - Received fatal alert: internal_error

2015-04-13 Thread Niraj
Which JMeter version you are using?
On Apr 13, 2015 5:13 PM, Sacha van Niekerk sacha.vanniek...@sqs.com
wrote:

 Hi,

 I have a web script that is returning this error intermittently throughout
 my test. It comes from various requests not just one and does not occur too
 often compared to the amount of passes. I have tried to research this error
 but I have not found any solution as yet.

 Is this a Jmeter/script error or an application error? Does anyone know
 what could be causing it and how to resolve it? Please let me know if you
 need any more information. I cannot include the script itself due to
 privacy issues.

 Response:
 javax.net.ssl.SSLException: Received fatal alert: internal_error
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.readRecord(Unknown
 Source)
 at
 sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
 Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
 Source)
 at
 sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 at
 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
 Source)
 at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:481)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1141)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1130)
 at
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
 at
 org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
 at java.lang.Thread.run(Unknown Source)


 Kind Regards,

 Sacha van Niekerk
 Performance Test Analyst

 SQS Group Limited
 PO Box 1688 |  Wandsbeck, 3629 | South Africa
 Phone: +27 (0)31 279 2400
 Mobile : +27 (0)61 285 7788
 sacha.vanniek...@sqs.commailto:sacha.vanniek...@sqs.com
 www.sqs.com/sahttp://www.sqs.com/sa
 Follow us for news, updates and latest jobs
 LinkedInhttp://www.linkedin.com/company/7083 | Facebook
 https://www.facebook.com/pages/SQS-Software-Quality-Systems/100601203341881
 

 Verifiedhttp://www.sqs-sa.com/ 125% procurement BEE recognition level
 AIM International Company of the Year

 We have a 'Thank You' initiative, so if you have experienced outstanding
 customer service from any of our staff and want to thank them, please send
 an email to thank...@sqs.commailto:thank...@sqs.com




RE: Jmeter - Received fatal alert: internal_error

2015-04-13 Thread Niraj
Try with older version. If same issue persist then need to debug more.

Probably 2.9 is best version. I was facing issue while recording NTLM
application script.

Also try if u can record using fiddler
I am using Jmeter 2.12


Kind regards,

Sacha van Niekerk
Performance Test Analyst


-Original Message-
From: Niraj [mailto:niraj.khatm...@gmail.com]
Sent: 13 April 2015 01:47 PM
To: JMeter Users List
Subject: Re: Jmeter - Received fatal alert: internal_error

Which JMeter version you are using?
On Apr 13, 2015 5:13 PM, Sacha van Niekerk sacha.vanniek...@sqs.com
wrote:

 Hi,

 I have a web script that is returning this error intermittently
 throughout my test. It comes from various requests not just one and
 does not occur too often compared to the amount of passes. I have
 tried to research this error but I have not found any solution as yet.

 Is this a Jmeter/script error or an application error? Does anyone
 know what could be causing it and how to resolve it? Please let me
 know if you need any more information. I cannot include the script
 itself due to privacy issues.

 Response:
 javax.net.ssl.SSLException: Received fatal alert: internal_error
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown
Source)
 at sun.security.ssl.SSLSocketImpl.readRecord(Unknown
 Source)
 at
 sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 at
 sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
 Source)
 at
 sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
 Source)
 at
 sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 at
 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
 Unknown
 Source)
 at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
 at

org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:481)
 at

org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
 at

org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1141)
 at

org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1130)
 at

org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
 at
 org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
 at java.lang.Thread.run(Unknown Source)


 Kind Regards,

 Sacha van Niekerk
 Performance Test Analyst

 SQS Group Limited
 PO Box 1688 |  Wandsbeck, 3629 | South Africa
 Phone: +27 (0)31 279 2400
 Mobile : +27 (0)61 285 7788
 sacha.vanniek...@sqs.commailto:sacha.vanniek...@sqs.com
 www.sqs.com/sahttp://www.sqs.com/sa
 Follow us for news, updates and latest jobs
 LinkedInhttp://www.linkedin.com/company/7083 | Facebook
 https://www.facebook.com/pages/SQS-Software-Quality-Systems/1006012033
 41881
 

 Verifiedhttp://www.sqs-sa.com/ 125% procurement BEE recognition
 level AIM International Company of the Year

 We have a 'Thank You' initiative, so if you have experienced
 outstanding customer service from any of our staff and want to thank
 them, please send an email to
 thank...@sqs.commailto:thank...@sqs.com



-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org


Re: jmeter - thread count limit

2014-08-12 Thread Niraj
Why don't you try out both increasing A+B options. And then probably you
can reach to conclusion
On Aug 12, 2014 6:36 AM, Shilpa Kulkarni s...@payasonline.com wrote:

 Hi

 I have a question about thread count limit in jmeter. Some of the -
 slightly older documentation on the internet - lists a number between
 200-300 for number of threads. Some docs mention there is no hard  fast
 rule, it depends on system hardware/software config  how soon the server
 responds for APIs under test.

 I have built a basic API test plan for a mobile/server type of application
  tested for 2 users in csv file  thread count = 10. We now need to put
 more load on it  I was checking out for any guide lines here. What are my
 options? A + B or just one of them? Are there any other options?
 A. Increase number of users in csv file
 B. Increase thread count

 Thanks
 SK



Re: need help

2014-07-05 Thread Niraj
How does it workopen JMeter user manual...u vl get what u r looking
for.

I don't think no one gonna explain here how Jmeter work
On Jul 5, 2014 11:34 AM, Vivekananda D Shetty vive...@maximusinfoware.in
wrote:



 Greetings,
 How does JMETER work. From where should I start, as I am
 new to performance testing.

 Thanks and regards,

 Vivekananda D Shetty
 |QA Lead-Maximus Infoware | +91 9930486180

 MAXIMUS INFOWARE (INDIA)
 PRIVATE LIMITED

 _ISO 9001 : 2008_

 www.maximusinfoware.com [11]


 On 05-07-2014, Deepak Goel wrote:

  Yes you can test any
 application.
 
  Hey
 
  Namaskara~Nalama~Guten Tag~Bonjour
 
  --
 
 Keigu
 
  Deepak
  73500 12833
  www.simtree.net [3],
 dee...@simtree.net [4]
  deic...@gmail.com [5]
 
  LinkedIn:
 http://www.linkedin.com/in/thumsupdeicool [6]
  Skype: thumsupdeicool
 
 Google talk: deicool
  Blog: http://loveandfearless.wordpress.com [7]
 
 Facebook: http://www.facebook.com/deicool [8]
 
  Contribute to the
 world, environment and more : http://www.gridrepublic.org [9]
  
 
 
 On Sat, Jul 5, 2014 at 11:00 AM, Vivekananda D Shetty 
 
 vive...@maximusinfoware.in [10] wrote:
 
  Greetings, I am new to
 Performance testing. My firm wants to implement Performance Testing on
 its application. The applications are developed in DOT NET( Web and
 Window application). Can you please tell me if I can use JMETER to do
 the Performance Testing of the application developed in DOT NET. --
 THANKS AND REGARDS, Vivekananda D Shetty |QA Lead-Maximus Infoware | +91
 9930486180 MAXIMUS INFOWARE (INDIA) PRIVATE LIMITED _ISO 9001 : 2008_
 www.maximusinfoware.com [1] [1] Links: -- [1]
 http://www.maximusinfoware.com/ [2]


 Links:
 --
 [1]
 http://www.maximusinfoware.com
 [2] http://www.maximusinfoware.com/
 [3]
 http://www.simtree.net
 [4] mailto:dee...@simtree.net
 [5]
 mailto:deic...@gmail.com
 [6]
 http://www.linkedin.com/in/thumsupdeicool
 [7]
 http://loveandfearless.wordpress.com
 [8]
 http://www.facebook.com/deicool
 [9] http://www.gridrepublic.org
 [10]
 mailto:vive...@maximusinfoware.in
 [11] http://www.maximusinfoware.com/



Re: need help

2014-07-05 Thread Niraj
On basic level no need. If u gonna in advance like beanshell...then yes
On Jul 5, 2014 11:57 AM, Vivekananda D Shetty vive...@maximusinfoware.in
wrote:

   Do I want to know basics of Java to work on JMETER.

 THANKS AND
 REGARDS,

 Vivekananda D Shetty |QA Lead-Maximus Infoware | +91
 9930486180

 MAXIMUS INFOWARE (INDIA) PRIVATE LIMITED

 _ISO 9001 :
 2008_

 www.maximusinfoware.com [14]

 On 05-07-2014, Niraj wrote:

 
 How does it workopen JMeter user manual...u vl get what u r
 looking
  for.
 
  I don't think no one gonna explain here how Jmeter
 work
  On Jul 5, 2014 11:34 AM, Vivekananda D Shetty
  wrote:
 

  Greetings, How does JMETER work. From where should I start, as I am
 new to performance testing. Thanks and regards, Vivekananda D Shetty |QA
 Lead-Maximus Infoware | +91 9930486180 MAXIMUS INFOWARE (INDIA) PRIVATE
 LIMITED _ISO 9001 : 2008_ www.maximusinfoware.com [2][11] On 05-07-2014,
 Deepak Goel wrote:
 
  Yes you can test any
  application.
 

  Hey Namaskara~Nalama~Guten Tag~Bonjour --
  Keigu
 dee...@simtree.net[4]
  ft:5px; border-left:#1010ff 2px solid;
 margin-left:5px; width:100%deic...@gmail.com [3] [5] LinkedIn: Skype:
 thumsupdeicool Google talk: deicool Blog: http://loveandf
 
 
 cebook.com/deicool
  uote type=cite style=padding-left:5px;
 border-left:#1010ff 2px solid; margin-left:5px; width:100%Contribute
 to the [9]
  0% On Sat, Jul 5, 2014 at 11:00 AM, Vivekananda D
 Shetty wrote: Greetings, I am new to Performance testing. My firm wants
 to implement Performance Testing on its application. The applications
 are developed in DOT NET( Web and Window application). Can you please
 tell me if I can use JMETER to do
 
 
  mus Infoware | +91
 9930486180 MAXIMUS INFOWARE (INDIA) PRIVATE LIMITED _ISO 9001 : 2008_
 www.maximusinfoware.com [5] [1] [1] Links: -- [1]
 http://www.maximusinfoware.com/
 
 
 href=http://www.maximusinfoware.com/;http://www.maximusinfoware.com/
 [3] http://www.simtree.net [1] [4] mail
 
 ailto:dee...@simtree.netdee...@simtree.net [5]
 mailto:deic...@gmail.com [6] [6]
 http://www.linkedin.com/in/thumsupdeicool [7] [7]
 http://loveandfearless.wordpress.com [8] [8]
 http://www.facebook.com/deicool [9] [9] http://www.gridrepublic.org [10]
 [10] mailto:vive...@maximusinfoware.in [11] [11]
 http://www.maximusinfoware.com/ [12]


 Links:
 --
 [1]
 http://www.simtree.net
 [2] http://www.maximusinfoware.com
 [3]
 mailto:deic...@gmail.com
 [4] mailto:vive...@maximusinfoware.in
 [5]
 http://www.maximusinfoware.com
 [6] mailto:deic...@gmail.com
 [7]
 http://www.linkedin.com/in/thumsupdeicool
 [8]
 http://loveandfearless.wordpress.com
 [9]
 http://www.facebook.com/deicool
 [10] http://www.gridrepublic.org
 [11]
 mailto:vive...@maximusinfoware.in
 [12]
 http://www.maximusinfoware.com/
 [13]
 mailto:vive...@maximusinfoware.in
 [14] http://www.maximusinfoware.com/



Re: Help with analyzing test results

2014-06-24 Thread Niraj
I send Summary report. Basically I add Transaction controllers in my
script...add  appropriate request under particular Transaction controller
so my Summary report gives required information.

Example: All login request goes under Transaction controller name Login.

That's it and you are good to go.
On Jun 24, 2014 9:50 PM, Ankit Sethiya ankit.seth...@gmail.com wrote:

 Hello,

 Can some one please let me know what is the best way to download the
 results from JMeter scripts?

 I basically want to send my rest results to management and have them view
 it without running JMeter. Tried to download the aggregate graph as png but
 wasn't a good idea as I couldn't see the complete text data. Also tried
 .Jmx but not sure what is it used for? Couldn't open the Jmx in JMeter
 itself.

 also attaching the Jmx and PNG file both.

 --
 Software Quality Analyst
 Los Angeles, CA
 626.202.5415


 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org



Re: HOW Test REST Services in Jmeter?

2013-12-04 Thread Niraj
There should be way to pass token. If this is URL

https://xxx.abe.com/x/ws/rs/auth-11/token

then after editing with Regex variable then it should look like this

https://xxx.abe.com/x/ws/rs/auth-11/https://xxx.abe.com/x/ws/rs/auth-11/token
${test}





On Wed, Dec 4, 2013 at 12:06 PM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 Sure,

 1. Added Two HTTP Samplers
 2. In First One Copied the Rest URL1, and the path
 3. added the atuthorization Manager to the same HTTP and given user name 
 password in Authorzation Manger
 4. Written RegEx to capture the Out of the firts HTTP sampler( Response is
 only Token Value)
 5. Copied the Rest URL2 in second HTTP sampler and the path.
 6. Here we need to pass token Value ??? So, initially No parameters are
 there in HTTP smpler2, JUST URL and path

 Thanks  Regards,
 Madhu


 On Wed, Dec 4, 2013 at 11:59 AM, Niraj niraj.khatm...@gmail.com wrote:

  could you plz share more details?
 
 
  On Wed, Dec 4, 2013 at 11:55 AM, Madhu Sekhar madhuvchand...@gmail.com
  wrote:
 
   Its just URL it just doesnot have any other parameters, Intially. I am
   aware of sneding requests when recored samples, but here we just copied
   REST URL.
  
   Thanks  Regards,
   Madhu
  
  
   On Wed, Dec 4, 2013 at 11:50 AM, Niraj niraj.khatm...@gmail.com
 wrote:
  
When you have extracted then you must have stored in variable. Use
 that
variable for example ${test} in next REST URL
   
   
On Wed, Dec 4, 2013 at 11:43 AM, Madhu Sekhar 
  madhuvchand...@gmail.com
wrote:
   
 Exrtaction was done but how to parse the same in next URL?

 Thanks,
 Madhu


 On Wed, Dec 4, 2013 at 11:36 AM, Niraj niraj.khatm...@gmail.com
   wrote:

  Extract token using RegEx and use that in next request.
 
 
  On Fri, Nov 22, 2013 at 3:07 PM, Madhu Sekhar 
madhuvchand...@gmail.com
  wrote:
 
   Hi team,
  
   I need to test Rest URL using token based authentication.
  
   Initially I have to generate token from the REST url using
  username
and
   password.
  
  
   Sample URL for generating token:
   https://xxx.abe.com/x/ws/rs/auth-11/token
   input parameters for this url is : username and password.
  
   The token value which is received from the response should be
  used
   as
   header value for next REST URL for getting data from web
 service.
  
   Could you please help me out as early as possible?
  
   Thanks,
   Madhu .
  
 



 --
 madhu kk

   
  
  
  
   --
   madhu kk
  
 



 --
 madhu kk



Re: HOW Test REST Services in Jmeter?

2013-12-03 Thread Niraj
When you have extracted then you must have stored in variable. Use that
variable for example ${test} in next REST URL


On Wed, Dec 4, 2013 at 11:43 AM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 Exrtaction was done but how to parse the same in next URL?

 Thanks,
 Madhu


 On Wed, Dec 4, 2013 at 11:36 AM, Niraj niraj.khatm...@gmail.com wrote:

  Extract token using RegEx and use that in next request.
 
 
  On Fri, Nov 22, 2013 at 3:07 PM, Madhu Sekhar madhuvchand...@gmail.com
  wrote:
 
   Hi team,
  
   I need to test Rest URL using token based authentication.
  
   Initially I have to generate token from the REST url using username and
   password.
  
  
   Sample URL for generating token:
   https://xxx.abe.com/x/ws/rs/auth-11/token
   input parameters for this url is : username and password.
  
   The token value which is received from the response should be used as
   header value for next REST URL for getting data from web service.
  
   Could you please help me out as early as possible?
  
   Thanks,
   Madhu .
  
 



 --
 madhu kk



Re: HOW Test REST Services in Jmeter?

2013-12-03 Thread Niraj
could you plz share more details?


On Wed, Dec 4, 2013 at 11:55 AM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 Its just URL it just doesnot have any other parameters, Intially. I am
 aware of sneding requests when recored samples, but here we just copied
 REST URL.

 Thanks  Regards,
 Madhu


 On Wed, Dec 4, 2013 at 11:50 AM, Niraj niraj.khatm...@gmail.com wrote:

  When you have extracted then you must have stored in variable. Use that
  variable for example ${test} in next REST URL
 
 
  On Wed, Dec 4, 2013 at 11:43 AM, Madhu Sekhar madhuvchand...@gmail.com
  wrote:
 
   Exrtaction was done but how to parse the same in next URL?
  
   Thanks,
   Madhu
  
  
   On Wed, Dec 4, 2013 at 11:36 AM, Niraj niraj.khatm...@gmail.com
 wrote:
  
Extract token using RegEx and use that in next request.
   
   
On Fri, Nov 22, 2013 at 3:07 PM, Madhu Sekhar 
  madhuvchand...@gmail.com
wrote:
   
 Hi team,

 I need to test Rest URL using token based authentication.

 Initially I have to generate token from the REST url using username
  and
 password.


 Sample URL for generating token:
 https://xxx.abe.com/x/ws/rs/auth-11/token
 input parameters for this url is : username and password.

 The token value which is received from the response should be used
 as
 header value for next REST URL for getting data from web service.

 Could you please help me out as early as possible?

 Thanks,
 Madhu .

   
  
  
  
   --
   madhu kk
  
 



 --
 madhu kk



Re: Issue while passing JSON string to AJAX request

2013-07-25 Thread Niraj
Thanks a lot Flavio. Your answer gave me right direction to resolve my
issue. Thanks once again for your valuable inputs.



On Jul 24, 2013 7:21 PM, Flavio Cysne flaviocy...@gmail.com wrote:

 I tested creating a variable, inside my browser console, using those two
 JSON strings presented in your e-mail and both returned Unexpected token
 ILLEGAL error.

 Then I tried the JSON string below and it worked.

 var myObject =

 {id:e519e615b0e01d6e80679-a353,nodeId:WVM,callback:,args:'{viewId:87ec8bd6-b5e4-476d-93ad-4d6728c2,method:ModifyControl,args:{\id\:\eed9f0aeae7e4f83b90f1d76f4619d88\,\args\:null}}'};

 See that I changed the approach of using only quotes for defining string
 values and used apostrophes for the args attribute (the first one). I also
 removed the extra slashes that turned obsolete because I could use quotes
 inside apostrophes without problems.

 Maybe using extra slashes could do the work. Anyway, I suppose you are
 creating these strings manually, so it should not be an issue for you to
 change quotes for apostrophes.


 2013/7/24 Niraj niraj.khatm...@gmail.com

  Hello,
 
  I am sending one ajax request to the server
 
 
 http://localtest/Web/AjaxService.asmx/Request?id=e519e615b0e01d6e80679-a353
 
  Post data:
 
 
 {id:e519e615b0e01d6e80679-a353,nodeId:WVM,callback:,args:{\viewId\:\87ec8bd6-b5e4-476d-93ad-4d6728c2\,\method\:\ModifyControl\,\args\:\{\\id\\:\\eed9f0aeae7e4f83b90f1d76f4619d88\\,\\args\\:null}\}}
 
  But when i send this using JMeter, i am getting below error
 
  {Message:Invalid object passed in, \u0027:\u0027 or \u0027}\u0027
  expected. (172):
 
 
 {\waid\:\e519e615b0e01d6e80679-a353\,\nodeId\:\WVM\,\callback\:\\,\args\:\{\\\viewId\\\:\\\87ec8bd6-b5e4-476d-93ad-4d6728c2\\\,\\\method\\\:\\\ModifyControl\\\,\\\args\\\:\\\{\id\:\eed9f0aeae7e4f83b90f1d76f4619d88\,\args\:null}\\\}\},StackTrace:
at
 
 
 System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32
  depth)\r\n   at
 
 
 System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32
  depth)\r\n   at
 
 
 System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String
  input, Int32 depthLimit, JavaScriptSerializer serializer)\r\n   at
 
 System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String
  input)\r\n   at
  System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext
  context, WebServiceMethodData
  methodData),ExceptionType:System.ArgumentException}
 
  Can some please help me to resolve the issue?
 
  Thanks,
  Niraj
 



Re: is there Socket support in Jmeter?

2013-07-25 Thread Niraj
As per my understanding, Currently JMeter doesn't support Web socket.


On Thu, Jul 25, 2013 at 1:54 PM, 黄吉浩 13651877...@163.com wrote:

 hi,

 According to my performance test experience, the most used test protocol
 is WEB(HTTP/HTML)  sockets ( named as Windows Socket in LR)

 no doubt that Jmeter supports WEB test, Does it support Socket test? I
 think It should do because It's made of java, and it's not difficult. If it
 support, surely it will enlarge it's capability much.


Issue while passing JSON string to AJAX request

2013-07-24 Thread Niraj
Hello,

I am sending one ajax request to the server

http://localtest/Web/AjaxService.asmx/Request?id=e519e615b0e01d6e80679-a353

Post data:
{id:e519e615b0e01d6e80679-a353,nodeId:WVM,callback:,args:{\viewId\:\87ec8bd6-b5e4-476d-93ad-4d6728c2\,\method\:\ModifyControl\,\args\:\{\\id\\:\\eed9f0aeae7e4f83b90f1d76f4619d88\\,\\args\\:null}\}}

But when i send this using JMeter, i am getting below error

{Message:Invalid object passed in, \u0027:\u0027 or \u0027}\u0027
expected. (172):
{\waid\:\e519e615b0e01d6e80679-a353\,\nodeId\:\WVM\,\callback\:\\,\args\:\{\\\viewId\\\:\\\87ec8bd6-b5e4-476d-93ad-4d6728c2\\\,\\\method\\\:\\\ModifyControl\\\,\\\args\\\:\\\{\id\:\eed9f0aeae7e4f83b90f1d76f4619d88\,\args\:null}\\\}\},StackTrace:
  at
System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32
depth)\r\n   at
System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32
depth)\r\n   at
System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String
input, Int32 depthLimit, JavaScriptSerializer serializer)\r\n   at
System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String
input)\r\n   at
System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext
context, WebServiceMethodData
methodData),ExceptionType:System.ArgumentException}

Can some please help me to resolve the issue?

Thanks,
Niraj


Re: Regex Template and matching help

2013-07-17 Thread Niraj
Anyone please


On Wed, Jul 17, 2013 at 10:01 AM, Niraj niraj.khatm...@gmail.com wrote:

 Hello All,

 My Reg ex is extracting two value from the response.

 Match[1][0]=u003cdiv viewId=\\\f34a5431-d549-4f95-87be-26083bb8fb0a
 Match[1][1]=\\\
 Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
 Match[2][0]=u003cdiv viewId=\\\a266b3b6-5e43-441e-b8e6-0e4f42418de9
 Match[2][1]=\\\
 Match[2][2]=a266b3b6-5e43-441e-b8e6-0e4f42418de9

 So to extract Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
 I have used template $1$ and Match no as 2. But in my variable i am
 getting \\\ instead of f34a5431-d549-4f95-87be-26083bb8fb0a. Please let me
 know what should be pattern.


 Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
 I have used template $2$ and Match no as 2 and i am getting
 a266b3b6-5e43-441e-b8e6-0e4f42418de9 which is exactly what i want.

 Thanks,
 Niraj



Conditional execution

2013-07-16 Thread Niraj
Hello All,

I am facing one execution issue mentioned below.

I have Web application where after successful login,User will get home
page. On homepage user will get links for the books which he purchased.
Once user click on one of the link, new tab will get open and user can view
the book. This is my scenario.

Now while recording till login everything work out well. Now When user
click on book and books get open in new tab in between there are around 50+
Ajax request gets sent from client to server which i can see in my JMeter
script.

In one of the Ajax request response there is one ID gets generated which is
used in the next request which will open the book on browser.

Now my issue how to extract that ID from Ajax request response. Sometime i
am getting that ID in the 4th Ajax request and sometime in the 40th Ajax
request.

Do i need to right regex for all the 50 Ajax requests?

How i can execute the next request (which is not the Ajax) with the ID from
Ajax request response?

Please let me know if i need to provide any more details.

Please let me know how i can handle this situation.

Thanks,
Niraj


Re: Conditional execution

2013-07-16 Thread Niraj
All Ajax are same. Pooling some data from the server. Once it has required
data then display the book on browser.


On Tue, Jul 16, 2013 at 2:57 PM, Manish Sapariya msapar...@gmail.comwrote:

 Are you sure, you application is really in-deterministic to this extent.
 I really don't think so.

 Are all these ajax request different?
 What do they do?

 Regards,
 Manish
 kPoint wins *Global eLearning
 Awardhttp://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
 
 * in “Learning Technologies Solution”!




 On Tue, Jul 16, 2013 at 2:49 PM, Niraj niraj.khatm...@gmail.com wrote:

  Hello All,
 
  I am facing one execution issue mentioned below.
 
  I have Web application where after successful login,User will get home
  page. On homepage user will get links for the books which he purchased.
  Once user click on one of the link, new tab will get open and user can
 view
  the book. This is my scenario.
 
  Now while recording till login everything work out well. Now When user
  click on book and books get open in new tab in between there are around
 50+
  Ajax request gets sent from client to server which i can see in my JMeter
  script.
 
  In one of the Ajax request response there is one ID gets generated which
 is
  used in the next request which will open the book on browser.
 
  Now my issue how to extract that ID from Ajax request response. Sometime
 i
  am getting that ID in the 4th Ajax request and sometime in the 40th Ajax
  request.
 
  Do i need to right regex for all the 50 Ajax requests?
 
  How i can execute the next request (which is not the Ajax) with the ID
 from
  Ajax request response?
 
  Please let me know if i need to provide any more details.
 
  Please let me know how i can handle this situation.
 
  Thanks,
  Niraj
 



Re: Conditional execution

2013-07-16 Thread Niraj
Let me give one example.

Say i have 5 Ajax request and 6th request is the request which will be
using ID generated from one of the Ajax request.

If i run test and ID gets returned from 3rd Ajax, so my next request should
be 6th request which will be using ID from 3rd Ajax request. Now I don't
want to send 4th and 5th Ajax as they will override my variable as regx
also used in this requests.




On Tue, Jul 16, 2013 at 3:06 PM, Manish Sapariya msapar...@gmail.comwrote:

 In that case you can have loop controller and one HTTP sample inside the
 loop, which has regex post processor.
 Regards,
 Manish


 On Tue, Jul 16, 2013 at 3:00 PM, Niraj niraj.khatm...@gmail.com wrote:

  All Ajax are same. Pooling some data from the server. Once it has
 required
  data then display the book on browser.
 
 
  On Tue, Jul 16, 2013 at 2:57 PM, Manish Sapariya msapar...@gmail.com
  wrote:
 
   Are you sure, you application is really in-deterministic to this
 extent.
   I really don't think so.
  
   Are all these ajax request different?
   What do they do?
  
   Regards,
   Manish
   kPoint wins *Global eLearning
   Award
  http://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
   
   * in “Learning Technologies Solution”!
  
  
  
  
   On Tue, Jul 16, 2013 at 2:49 PM, Niraj niraj.khatm...@gmail.com
 wrote:
  
Hello All,
   
I am facing one execution issue mentioned below.
   
I have Web application where after successful login,User will get
 home
page. On homepage user will get links for the books which he
 purchased.
Once user click on one of the link, new tab will get open and user
 can
   view
the book. This is my scenario.
   
Now while recording till login everything work out well. Now When
 user
click on book and books get open in new tab in between there are
 around
   50+
Ajax request gets sent from client to server which i can see in my
  JMeter
script.
   
In one of the Ajax request response there is one ID gets generated
  which
   is
used in the next request which will open the book on browser.
   
Now my issue how to extract that ID from Ajax request response.
  Sometime
   i
am getting that ID in the 4th Ajax request and sometime in the 40th
  Ajax
request.
   
Do i need to right regex for all the 50 Ajax requests?
   
How i can execute the next request (which is not the Ajax) with the
 ID
   from
Ajax request response?
   
Please let me know if i need to provide any more details.
   
Please let me know how i can handle this situation.
   
Thanks,
Niraj
   
  
 



Re: Conditional execution

2013-07-16 Thread Niraj
Hey Manish,

Thanks a ton for helping me out. So please correct me if i am wrong

UserDefined variable
var = notfound
while loop with the condition ${var} = = notfound
Ajax1
Regex
Ajax2
-Regex
Ajax3
-Regex
Ajax4
-Regex
Ajax5
-Regex
6th request with ID






On Tue, Jul 16, 2013 at 3:34 PM, Manish Sapariya msapar...@gmail.comwrote:

 In fact the condition for first while controller will be as long as
 ID==ID_NOT_FOUND.
 Set the id to ID_NOT_FOUND before  entering while loop. In the regex inside
 while
 loop set the value of id=ID_NOT_FOUND if you don't find match.

 In the second while controller you will have to use loop count, which will
 also be incremened
 in first while, but willl not be used to break out of loop.

 -Manish
 kPoint wins *Global eLearning
 Awardhttp://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
 
 * in “Learning Technologies Solution”!


 On Tue, Jul 16, 2013 at 3:30 PM, Manish Sapariya msapar...@gmail.com
 wrote:

  In that kapsule, you should break out of the loop as soon as you get the
  valid ID and complete next set of request in the next loop.
  In that case, simple loop controller may not be sufficient, you will have
  to go with while controller.
 
 
  If you need help for how a while loop is used, I have a tutorial
  http://goo.gl/V6za3
  Hope this helps.
 
  Regards,
  Manish
  kPoint wins *Global eLearning Award
 http://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
  * in “Learning Technologies Solution”!
 
 
  On Tue, Jul 16, 2013 at 3:11 PM, Niraj niraj.khatm...@gmail.com wrote:
 
  Let me give one example.
 
  Say i have 5 Ajax request and 6th request is the request which will be
  using ID generated from one of the Ajax request.
 
  If i run test and ID gets returned from 3rd Ajax, so my next request
  should
  be 6th request which will be using ID from 3rd Ajax request. Now I don't
  want to send 4th and 5th Ajax as they will override my variable as regx
  also used in this requests.
 
 
 
 
  On Tue, Jul 16, 2013 at 3:06 PM, Manish Sapariya msapar...@gmail.com
  wrote:
 
   In that case you can have loop controller and one HTTP sample inside
 the
   loop, which has regex post processor.
   Regards,
   Manish
  
  
   On Tue, Jul 16, 2013 at 3:00 PM, Niraj niraj.khatm...@gmail.com
  wrote:
  
All Ajax are same. Pooling some data from the server. Once it has
   required
data then display the book on browser.
   
   
On Tue, Jul 16, 2013 at 2:57 PM, Manish Sapariya 
 msapar...@gmail.com
wrote:
   
 Are you sure, you application is really in-deterministic to this
   extent.
 I really don't think so.

 Are all these ajax request different?
 What do they do?

 Regards,
 Manish
 kPoint wins *Global eLearning
 Award
   
 http://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
 
 * in “Learning Technologies Solution”!




 On Tue, Jul 16, 2013 at 2:49 PM, Niraj niraj.khatm...@gmail.com
   wrote:

  Hello All,
 
  I am facing one execution issue mentioned below.
 
  I have Web application where after successful login,User will
 get
   home
  page. On homepage user will get links for the books which he
   purchased.
  Once user click on one of the link, new tab will get open and
 user
   can
 view
  the book. This is my scenario.
 
  Now while recording till login everything work out well. Now
 When
   user
  click on book and books get open in new tab in between there are
   around
 50+
  Ajax request gets sent from client to server which i can see in
 my
JMeter
  script.
 
  In one of the Ajax request response there is one ID gets
 generated
which
 is
  used in the next request which will open the book on browser.
 
  Now my issue how to extract that ID from Ajax request response.
Sometime
 i
  am getting that ID in the 4th Ajax request and sometime in the
  40th
Ajax
  request.
 
  Do i need to right regex for all the 50 Ajax requests?
 
  How i can execute the next request (which is not the Ajax) with
  the
   ID
 from
  Ajax request response?
 
  Please let me know if i need to provide any more details.
 
  Please let me know how i can handle this situation.
 
  Thanks,
  Niraj
 

   
  
 
 
 


 --
 Thanks and Regards,
 Manish
 kPoint wins *Global eLearning
 Awardhttp://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/
 
 * in “Learning Technologies Solution”!



Regex Template and matching help

2013-07-16 Thread Niraj
Hello All,

My Reg ex is extracting two value from the response.

Match[1][0]=u003cdiv viewId=\\\f34a5431-d549-4f95-87be-26083bb8fb0a
Match[1][1]=\\\
Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
Match[2][0]=u003cdiv viewId=\\\a266b3b6-5e43-441e-b8e6-0e4f42418de9
Match[2][1]=\\\
Match[2][2]=a266b3b6-5e43-441e-b8e6-0e4f42418de9

So to extract Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
I have used template $1$ and Match no as 2. But in my variable i am getting
\\\ instead of f34a5431-d549-4f95-87be-26083bb8fb0a. Please let me know
what should be pattern.


Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
I have used template $2$ and Match no as 2 and i am getting
a266b3b6-5e43-441e-b8e6-0e4f42418de9 which is exactly what i want.

Thanks,
Niraj


Re: Regular expression help

2013-07-14 Thread Niraj
Thanks Guys for the quick response.

Currently my application is down due to some issue. Once it is up, i will
check this regex and will let you know the results.




On Fri, Jul 12, 2013 at 8:17 PM, sebb seb...@gmail.com wrote:

 On 12 July 2013 09:57, Niraj niraj.khatm...@gmail.com wrote:
  Can someone please help me in regular expression
 
 
  test.FilterPanel.viewId = \136e6c9e-689a-4d24-a3bc-2ace008bee2f\

  *i want to extract **136e6c9e-689a-4d24-a3bc-2ace008bee2f **from  this. *
 
  *Please let me know what should be correct reg ex *
  *
  *
  *i tried **viewId = \(.*)\ But got the
  error org.apache.oro.text.MalformedCachePatternException: Invalid
  expression: viewId = \(.*)\*
  *Trailing \ in expression.*

 It's quite difficult reading your posting because of all the extra *
 characters that are scattered about.

 But assuming you start with

 test.FilterPanel.viewId = \136e6c9e-689a-4d24-a3bc-2ace008bee2f\

 and want to extract

 136e6c9e-689a-4d24-a3bc-2ace008bee2f

 Then the way to do it is to take your input, and escape any
 meta-characters:
 In this case, the \ is the only special char, so it becomes:

 test.FilterPanel.viewId = \\136e6c9e-689a-4d24-a3bc-2ace008bee2f\\

 Now put () around the part you want to extract:

 test.FilterPanel.viewId = \\(136e6c9e-689a-4d24-a3bc-2ace008bee2f)\\

 Of course this will only extra the exact id, so now you need to make
 the id dynamic.

 In this case, the Id seems to consist of lower-case hex and - only,
 which is matched by

 [-\da-f]+

 In the above, the - must come first, otherwise it is treated as a
 range, as in a-f.
 The \d means digit; you could use 1-9 instead

 So the final expression becomes:

 test.FilterPanel.viewId = \\([-\da-f]+)\\

 If the Id could include other characters, you could also use the fact
 that it is terminated by \, so you could replace

 [-\da-f]+

 by

 [^\\]+

 which means anything except \, repeated any number of times.

 Try this process out in the Tree View Listener regex pane.

  *
  *Thanks,*
  *Niraj*
  *
  *
  *
  *
  *
  *

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Error message in response data

2013-07-12 Thread Niraj
Hello All,

I am getting below message in response data. I have checked that Java
script is enabled while recording the script on Firefox. I Have added
Cookie Manger before running the script.

*This site uses Java Script. Your browser either does not support Java
Script or it is not enabled.   *
*This site uses session cookies. Your browser is currently set to block
session cookies.*

*This site uses session cookies. Your browser is currently set to block
session cookies.   *

*
*

*can some please help me?*

*
*

*Thanks,*

*Niraj*
*This site uses session cookies. Your browser is currently set to block
session cookies.* *This site uses session cookies. Your browser is
currently set to block session cookies.*
*This site uses session cookies. Your browser is currently set to block
session cookies.*


Re: Listeners for Load Test

2013-06-26 Thread Niraj
In View Result Tree listener select Errors check box. That will give you
error code and complete response.


On Thu, Jun 27, 2013 at 5:57 AM, umesh prajapati praumes...@gmail.comwrote:

 I find View Results Tree very helpful, fo debugging purposes, it explains
 in detail what the error code and message. But on the website, it says View
 Results Tree MUST NOT BE USED during load test because it consumes lots of
 resources.

 What other listener or what is the other way that I can see the error same
 way as in View Results Tree. Or what is the other better way for debugging
 purposes during load test



Re: Listeners for Load Test

2013-06-26 Thread Niraj
But when some request failed and you want to know why it got failed,
what parameters sent from JMeter, and What response you got then in that
case you can use View result tree with Errors only.

Again if your error percentage is way high then View result tree gona use
memory even it is displaying errors only.


On Thu, Jun 27, 2013 at 9:56 AM, umesh prajapati praumes...@gmail.comwrote:

 On the jmeter site it says view result tree must not be used during load
 test.
 On Jun 26, 2013 9:23 PM, Niraj niraj.khatm...@gmail.com wrote:

  In View Result Tree listener select Errors check box. That will give you
  error code and complete response.
 
 
  On Thu, Jun 27, 2013 at 5:57 AM, umesh prajapati praumes...@gmail.com
  wrote:
 
   I find View Results Tree very helpful, fo debugging purposes, it
 explains
   in detail what the error code and message. But on the website, it says
  View
   Results Tree MUST NOT BE USED during load test because it consumes lots
  of
   resources.
  
   What other listener or what is the other way that I can see the error
  same
   way as in View Results Tree. Or what is the other better way for
  debugging
   purposes during load test
  
 



Re: Different logins

2013-06-20 Thread Niraj
You can use Debug Sampler. That will give you parameters value for the
Current thread.


On Fri, Jun 21, 2013 at 4:58 AM, Shashidhar Shivaramaiah 
shashidhar.shivarama...@gmail.com wrote:

 I would like to display value in the parameter which is used for the
 current thread how do i do. What is the exact function.


 On Thu, Jun 20, 2013 at 4:22 PM, Deepak Shetty shet...@gmail.com wrote:

  the simplest is to use sample_variables in jmeter.properties which will
  save the values to the result file/
  How do i write bean shell programming to save the values in the file
  depends what you want to do - the thread number and variable are both
  available in the sampler so you can do whatever you want
 
 
  On Thu, Jun 20, 2013 at 3:56 PM, Shashidhar Shivaramaiah 
  shashidhar.shivarama...@gmail.com wrote:
 
   I have parameterized the users for loging
  
   I need to capture for which thread which data is using. How do i write
  bean
   shell programming to save the values in the file
  
 



Re: Regular expression in jmeter

2013-06-20 Thread Niraj
Put this regular expression in regular expression tester. That will tell
you by using this reg ex what value you are extracting.


On Fri, Jun 21, 2013 at 4:55 AM, Shashidhar Shivaramaiah 
shashidhar.shivarama...@gmail.com wrote:

 I have added debug sampler but nothing it is showing. What would be the
 correct syntax for regular expression?


 On Thu, Jun 20, 2013 at 4:08 PM, Deepak Shetty shet...@gmail.com wrote:

  add a debug sampler and view in view results tree - the response tab for
  the debug sampler should have the variables that got set
  Ensure that you have selected Headers in the regex extractor for response
  field to check
  Your regex seems wrong though
 
 
  On Thu, Jun 20, 2013 at 3:53 PM, Shashidhar Shivaramaiah 
  shashidhar.shivarama...@gmail.com wrote:
 
   I have a scenario where i'm getting values for a request in the header
  
   Response headers:
   HTTP/1.1 302 Moved Temporarily
   Server: Apache
   X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP02 (build:
   SVNTag=JBPAPP_4_3_0_GA_CP02 date=200808051050)/JBossWeb-2.0
   x-wily-info: Clear guid=63C4869C0A07194D00C5AC0C23205359
   x-wily-servlet: Clear
  
  
 
 appServerIp=10.7.25.77agentName=STG-portal-1servletName=ControllerServletagentHost=vm0109ussac1agentProcess=JBoss
   Location:
  
  
 
 https://test-www.nike.net/portal/site/nike/template.PAGE/;jsessionid=9rU1wzkHOBC7skzvqr9FIg**.node1
  
   I need to use regular expression and i have used regular expression for
   jsession id
  
   jsessionid=([^]+?)
  
   where do i see whether it is capturing or not
  
 



Re: Workload model

2013-06-12 Thread Niraj
You can use Stepping thread group. By using that you can achieve the
required work load model. Thanks!


On Wed, Jun 12, 2013 at 10:51 PM, Ronny Roscher dickb...@gmail.com wrote:

 Ok, now more in detail.

 As you mentioned you already have Ultimate Thread Group.
 So then just add an Ultimate Thread Group to your testplan and use the
 following configuration.

 Start Threads Count - Initial Delay - Startup Time - Hold Load For -
 Shutdown
 10 - 0 - 30 - 9000
 10 - 1800 - 30 - 7200
 10 - 3600 - 30 - 5400
 10 - 5400 - 30 - 3600
 10 - 7200 - 30 - 1800

 Then it should look like this.

  utg.JPG
 https://docs.google.com/file/d/0B-cek4D5wdYqb0I3TV9WQy1JRWc/edit?usp=drive_web
 

 You can change the time as you want. The Example ist for 30min steady each
 step and 30s increase.

 Ronny


 2013/6/12 Ronny Roscher dickb...@gmail.com

  Sorry I should have read your whole post. I'm sure that you can configure
  that in utg.
  Am 12.06.2013 18:54 schrieb Ronny Roscher dickb...@gmail.com:
 
  Hi
 
  Just download the jmeter addon called ultimate thread group. There you
  can configure your described workload.
 
  Ronny
  Am 12.06.2013 18:16 schrieb Muthukrishnan S. 
  muthukrishna...@sonata-software.com:
 
  Hi,
 
  I would like to achieve the following workload model in JMeter.
 
 
  1.   Starting with 10 users (with some ramp-up time) and run in
  steady state for 30 minutes
 
  2.   Increment 10 more users (with some ramp-up time) and run in
  steady state for 30 minutes
 
  3.   And so on until 50 users
 
  I need this to be done under one Thread Group. So, tried 'Ultimate
  Thread Group' from jmeter-plugins, couldn't achieve this. Please let me
  know if there is a way to achieve this and how can it be done..
 
  Thank you,
  Muthu.
 
  Disclaimer: The materials contained in this email and any attachments
  may contain confidential or legally privileged information. The
 information
  contained in this communication is intended solely for the use of the
  individual or entity to whom it is addressed and others authorized to
  receive it. If you are not the intended recipient you are hereby
 notified
  that any disclosure, copying, distribution or taking any action in
 reliance
  on the contents of this information is strictly prohibited and may be
  unlawful. If you have received this communication in error, please
 notify
  us immediately by responding to this email and then delete it from your
  system. Sonata is neither liable for the proper and complete
 transmission
  of the information contained in this communication nor for any delay
 in its
  receipt
 
 



Re: Passing variables between Thread groups

2013-05-14 Thread Niraj
First of all you can not share variable amongst the thread groups. But you
can share the properties.So set your Variable as property using Beansheel.

Now next question is how to do this.

So if you extracting for an example SSN using Regex from the request
response in thread group 1 and you want to use that extracted SSN in thread
group 2. Then Add BeanShell Sampler under the request where you are
extracting SSN using reg ex. (ssn is reference name in Regx extractor)
Add this code in BeanShell ${__setProperty(ssn,${ssn})}.

In your second thread group copy this code ${__property(ssn)} where you
want to use the variable (which is declared as property).

Let me know if you have any question.


On Tue, May 14, 2013 at 10:04 PM, Deepak Shetty shet...@gmail.com wrote:

 in the test plan you can find a user defined variable, they are some
 variable shared betwen all the thread.
 you can define there the variables you need and give them the value you
 need to communicate between your thread groups

 This is technically incorrect - changes are not shared - only the initial
 value is.


 On Tue, May 14, 2013 at 9:11 AM, tarik chichane 
 tarikchichane2...@gmail.com
  wrote:

  Hi,
 
  in the test plan you can find a user defined variable, they are some
  variable shared betwen all the thread.
  you can define there the variables you need and give them the value you
  need to communicate between your thread groups
 
  Tarik CHICHANE
  Ingénieur Telecom Réseaux
  Administateur Réseaux Université
  Hassan-II
  Mohamadia
 
 
  2013/5/14 Muthukrishnan S. muthukrishna...@sonata-software.com
 
   Hi All,
  
   I need to pass values of variables from one Thread group to other.
 Please
   let me know if there is a way other than using properties or
 Inter-Thread
   Communication from jmeter-plugins.
  
   Thank you,
   Muthu.
   Disclaimer: The materials contained in this email and any attachments
  may
   contain confidential or legally privileged information. The information
   contained in this communication is intended solely for the use of the
   individual or entity to whom it is addressed and others authorized to
   receive it. If you are not the intended recipient you are hereby
 notified
   that any disclosure, copying, distribution or taking any action in
  reliance
   on the contents of this information is strictly prohibited and may be
   unlawful. If you have received this communication in error, please
 notify
   us immediately by responding to this email and then delete it from your
   system. Sonata is neither liable for the proper and complete
 transmission
   of the information contained in this communication nor for any delay in
  its
   receipt
  
 



Re: Jmeter-Results

2013-05-03 Thread Niraj
Are you getting any errors? I hope you have added Summary report listener.
You can see that %error.


On Fri, May 3, 2013 at 5:09 PM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 Hi Team,

 we have run a test in jmeter with 5 and 10 threads. The test is working
 dynamically.

 But when we run the same test in jmeter GUI. The average response values of
 the some test steps in 5 threads is more than 10 threads.

 It looks like weird results. Could anyone suggest on the same.


 What could be the reason and all?



 Thanks  regards,
 Madhu



Re: Jmeter-Results

2013-05-03 Thread Niraj
First you should resolve that error.


On Fri, May 3, 2013 at 5:31 PM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 Ye Neeraj. I am seeing Some Errors for the test steps.

 So those are less in 10 threads and even some steps which don't have error
 % are also

 less for 10 threads than 5 threads.

 any Suggestions, Neeraj?

 Thanks  Regards,
 Madhu


 On Fri, May 3, 2013 at 5:17 PM, Madhu Sekhar madhuvchand...@gmail.com
 wrote:

  Ok, I will add that listener and let u know the same once i am done.
 
 
  On Fri, May 3, 2013 at 5:17 PM, Madhu Sekhar madhuvchand...@gmail.com
 wrote:
 
  Ok, I will add that error and let u know the same once i am done.
 
 
  On Fri, May 3, 2013 at 5:12 PM, Niraj niraj.khatm...@gmail.com wrote:
 
  Are you getting any errors? I hope you have added Summary report
  listener.
  You can see that %error.
 
 
  On Fri, May 3, 2013 at 5:09 PM, Madhu Sekhar madhuvchand...@gmail.com
  wrote:
 
   Hi Team,
  
   we have run a test in jmeter with 5 and 10 threads. The test is
 working
   dynamically.
  
   But when we run the same test in jmeter GUI. The average response
  values of
   the some test steps in 5 threads is more than 10 threads.
  
   It looks like weird results. Could anyone suggest on the same.
  
  
   What could be the reason and all?
  
  
  
   Thanks  regards,
   Madhu
  
 
 
 
 
  --
  madhu kk
 
 
 
 
  --
  madhu kk
 



 --
 madhu kk



Re: Jmeter-Results

2013-05-03 Thread Niraj
You are getting errir it means something is going wrong. So first find out
that and fix it.


On Fri, May 3, 2013 at 5:44 PM, Madhu Sekhar madhuvchand...@gmail.comwrote:

 You mean that error is because of script failure?

 Thanks  Regards,
 Madhu


 On Fri, May 3, 2013 at 5:40 PM, Niraj niraj.khatm...@gmail.com wrote:

  First you should resolve that error.
 
 
  On Fri, May 3, 2013 at 5:31 PM, Madhu Sekhar madhuvchand...@gmail.com
  wrote:
 
   Ye Neeraj. I am seeing Some Errors for the test steps.
  
   So those are less in 10 threads and even some steps which don't have
  error
   % are also
  
   less for 10 threads than 5 threads.
  
   any Suggestions, Neeraj?
  
   Thanks  Regards,
   Madhu
  
  
   On Fri, May 3, 2013 at 5:17 PM, Madhu Sekhar madhuvchand...@gmail.com
   wrote:
  
Ok, I will add that listener and let u know the same once i am done.
   
   
On Fri, May 3, 2013 at 5:17 PM, Madhu Sekhar 
 madhuvchand...@gmail.com
   wrote:
   
Ok, I will add that error and let u know the same once i am done.
   
   
On Fri, May 3, 2013 at 5:12 PM, Niraj niraj.khatm...@gmail.com
  wrote:
   
Are you getting any errors? I hope you have added Summary report
listener.
You can see that %error.
   
   
On Fri, May 3, 2013 at 5:09 PM, Madhu Sekhar 
  madhuvchand...@gmail.com
wrote:
   
 Hi Team,

 we have run a test in jmeter with 5 and 10 threads. The test is
   working
 dynamically.

 But when we run the same test in jmeter GUI. The average response
values of
 the some test steps in 5 threads is more than 10 threads.

 It looks like weird results. Could anyone suggest on the same.


 What could be the reason and all?



 Thanks  regards,
 Madhu

   
   
   
   
--
madhu kk
   
   
   
   
--
madhu kk
   
  
  
  
   --
   madhu kk
  
 



 --
 madhu kk



Re: Use JMter with third party thread group

2013-05-02 Thread Niraj
https://code.google.com/p/jmeter-plugins/wiki/SteppingThreadGroup


On Thu, May 2, 2013 at 11:47 AM, Perf Test perfs...@gmail.com wrote:

 Thanks a lot, can you share the link


 On Thu, May 2, 2013 at 11:28 AM, Niraj niraj.khatm...@gmail.com wrote:

  I am using Stepping thread from almost a year and it's a very good
  experience so far. I am getting constant results while scheduling load.
 
  I would suggest you can go for it.
 
 
  On Thu, May 2, 2013 at 11:21 AM, Perf Test perfs...@gmail.com wrote:
 
   Dear Experts,
  
   I would like to know the accuracy of a third party thread group(i.e.
   ultimate thread group etc) if you use for testing instead of jmeter
  thread
   group, appreciate if you could share your experience with that if you
  have
   used.
  
   Thanks
   sam
  
 



Re: Use JMter with third party thread group

2013-05-02 Thread Niraj
Can you share the setting under Threads Schedule of Ultimate Thread group?

What number you add in Default thread group Ramp up time?


On Thu, May 2, 2013 at 12:09 PM, Perf Test perfs...@gmail.com wrote:

 Thanks, Hope you can answer this :-), Actually i have used ultimate thread
 group for sometimes, i have notice that when you use ultimate thread group
 and jmeter default thread group, test results are quite different, i.e.
 ultimate thread shows much delay in response times and jmter default shows
 quite faster response when analyzing test results. i used same no of
 threads for both testing. what could be the reason..

 thanks
 sam


 On Thu, May 2, 2013 at 11:53 AM, Niraj niraj.khatm...@gmail.com wrote:

  https://code.google.com/p/jmeter-plugins/wiki/SteppingThreadGroup
 
 
  On Thu, May 2, 2013 at 11:47 AM, Perf Test perfs...@gmail.com wrote:
 
   Thanks a lot, can you share the link
  
  
   On Thu, May 2, 2013 at 11:28 AM, Niraj niraj.khatm...@gmail.com
 wrote:
  
I am using Stepping thread from almost a year and it's a very good
experience so far. I am getting constant results while scheduling
 load.
   
I would suggest you can go for it.
   
   
On Thu, May 2, 2013 at 11:21 AM, Perf Test perfs...@gmail.com
 wrote:
   
 Dear Experts,

 I would like to know the accuracy of a third party thread
 group(i.e.
 ultimate thread group etc) if you use for testing instead of jmeter
thread
 group, appreciate if you could share your experience with that if
 you
have
 used.

 Thanks
 sam

   
  
 



Re: Use JMter with third party thread group

2013-05-01 Thread Niraj
I am using Stepping thread from almost a year and it's a very good
experience so far. I am getting constant results while scheduling load.

I would suggest you can go for it.


On Thu, May 2, 2013 at 11:21 AM, Perf Test perfs...@gmail.com wrote:

 Dear Experts,

 I would like to know the accuracy of a third party thread group(i.e.
 ultimate thread group etc) if you use for testing instead of jmeter thread
 group, appreciate if you could share your experience with that if you have
 used.

 Thanks
 sam



Re: Distributed testing with user login

2013-04-22 Thread Niraj
Hey Ruchit,

Try with two CSV each containing 5K users (Total 10K). Copy the CSV on each
machine. By doing this you will achieve single user session per user. As
both the CSV contains different users.

Thanks,
Niraj


On Mon, Apr 22, 2013 at 2:03 PM, Ruchit Rami ruchit.r...@ei-india.comwrote:

 Hello all,

 I am trying to use JMeter to run distributed stress test. I have executed a
 simple test plan with 2 remote servers. My test plan was configured to run
 one thread. Now when I choose to Remote start all, the requests for the
 test plan are executed twice. So, remote servers execute complete test
 individually.

 Now, the real test plan i want to execute needs user login. And our system
 does not allow multiple sessions for same username. I need to use
 distributed testing for my test plan as i need to test for 10K users. How
 can i ensure that every single remote server uses unique username to login
 to the system during distributed stress test? Test plan reads the username
 and password from CSV file.

 Regards,
 Ruchit Rami



Re: reusing the extracted dynamic variables in jmeter

2013-04-18 Thread Niraj
Hey Namrata,

First of all you can not share variable amongst the thread groups. But you
can share the properties.So set your Variable as property using Beansheel.

Now next question is how to do this.

So if you extracting for an example SSN using Regex from the request
response in thread group 1 and you want to use that extracted SSN in thread
group 2. Then Add BeanShell Sampler under the request where you are
extracting SSN using reg ex. (ssn is reference name in Regx extractor)
Add this code in BeanShell ${__setProperty(ssn,${ssn})}.

In your second thread group copy this code ${__property(ssn)} where you
want to use the variable (which is declared as property).

Let me know if you have any question.

Thanks,
Niraj





On Thu, Apr 18, 2013 at 11:58 AM, namrata@wipro.com wrote:

 Hi,

 I am correlating few variables in the thread groups. How do I use these
 same variables in another thread group?

 I want these correlated variables to be accessed by multiple thread groups
 i.e these variables should be common to the entire test plan, not just
 specific to a thread group.

 How do I achieve this?


 
 Regards,
 Namrata


 Please do not print this email unless it is absolutely necessary.

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.

 www.wipro.com



Re: JMeter Plugin with Sonar

2013-03-27 Thread Niraj
Hey Carlos,

Thanks a lot. You guidance was really helped me a lot. Finally i am able to
see JMeter results on Sonar dashboard.

Thanks once again for being so patient with me.

Regards,
Niraj

On Wed, Mar 27, 2013 at 3:25 PM, Carlos Fillol Sendra carfi...@gmail.comwrote:

 Hi Niraj,

 To add a project you will need the sources of that project.
 If is a java project using maven its easy peasy:

- You will need java and sonar installed and running, but you have
allready completed this steps, so go ahead.
- Install maven. Download last
 versionhttp://maven.apache.org/download.cgi,
unzip and point to *bin* subfoder from PATH enviroment variable. Check
if installation was fine by executing command 'mvn --version'
- Download project sources. Remember that it has to be a java project
using maven. You can create a simple project example with this command:

 mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
 -DgroupId=examples -DartifactId=simple-project -Dversion=1.0
 -DinteractiveMode=false

- Go inside the sources root folder (pom.xml file must be in there) and
execute this commands:

 cd simple-project
 mvn sonar:sonar

 Alter all, you can navigate to http://localhost:9000 and see if your
 project info is there.
 For more info in analyzing no maven or no java projects you can take a look
 to sonar documentation
 http://docs.codehaus.org/display/SONAR/Analyzing+Source+Code
 .

 Regards,
 Carlos Fillol

 2013/3/25 Niraj niraj.khatm...@gmail.com

  Thanks again Carlos.
 
  But looks like i am missing on something. As i have mentioned earlier
 that
  i don't have any projects added. So when i am project dashboard. I don't
  see any thing.
 
  Can you please provide me some pointers which will help me to add
 projects?
 
  Thanks,
  Niraj
 
  On Sat, Mar 23, 2013 at 11:12 PM, Carlos Fillol Sendra
  carfi...@gmail.comwrote:
 
   Hi Niraj,
  
   Try this. Tested with Sonar 3.5:
  
  - Go to your project dashboard and select Configuration  Settings 
  JMeter (be careful, this is your project configuration for jmeter
  sonar
  plugin, do not select Settings  Configuration  JMeter, that will
  bring
  yot to the global configuration for all the projects)
  - In project configuration of JMeter sonar plugin you will see a
  property named *Local jtl file*. Set the local path to your project
  jtl file in this property.
  
   [image: Imágenes integradas 1]
  
   2013/3/22 Niraj niraj.khatm...@gmail.com
  
   Thanks Carlos for a detailed explanation. However i am still not able
 to
   view JMeter results.
  
   Please find below steps which i have followed:
   1. Downloaded jmeter-sonar-plugin-0.3 and copied to
   C:\sonar-3.5\extensions\plugins.
   2. Restarted SONAR.
  
   But Can you please let me know when i have Sonar and .jtl file on same
   machine, where i need to specify path of .jtl file.
  
   Also when i have added JMeter widget to dashboard, i got the error An
   error occurred while trying to display the widget jmeter. Please
  contact
   the administrator.
  
   Thanks,
   Niraj
  
  
   On Fri, Mar 22, 2013 at 2:24 AM, Carlos Fillol Sendra 
  carfi...@gmail.com
   wrote:
  
Hi Niraj,
   
Last JMeter Sonar Plugin release is 0.2 but I recomend you to use
 last
   0.3
snapshot because is more stable than version 0.2.
   
JMeter Sonar Plugin will try to get jtl info when 'mvn sonar:sonar'
 is
invoked.
   
So you will have to:
   
   - Configure and run jmeter-report-server in the remote machine
  where
   you
   have the jtl file. Basically:
   
   
   - Download and uncompress jmeter-report-server-0.3 last
snapshot
   
  
 
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/jmeter-report-server/0.3-SNAPSHOT/jmeter-report-server-0.3-20130128.181910-2-dist.zip

  - Add a line like this in
   properties/jmeter-report-server.properties:
   
testconfig.*yourconfigname*.jtlpath=*/path/to/jtl/file.jtl*
   
   - Start jmeter-report-server so it will be ready to receive
  incoming
  requests from jmeter sonar from sonar machine. You can do this
executing
  jmeter-report-server.bat (in Windows) or
  jmeter-report-server.bat.
   
   
   - Download jmeter-sonar-plugin-0.3 last
snaphot
   
  
 
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/sonar-jmeter-plugin/0.3-SNAPSHOT/sonar-jmeter-plugin-0.3-20130128.182314-2.jar
into
Sonar machine, into Sonar extensions/plugins folder, and restart
Sonar.
   - Configure JMeter Plugin parameters in the corresponding project
  in
   Sonar web portal. You have to set jmeter-report-server machine IP
  and
port
   (default port is ), and the test config name (in this case it
   would
be
   *yourconfigname*)
   - Go to project sources folder in Sonar machine and run command
  'mvn
   sonar:sonar'. This will make

Re: Jmeter Applets - help required

2013-03-26 Thread Niraj
Looks like there is some kind of Java script method which gets invoked when
you submit the form and encrypt Username and password.

Now by using Beanshell with Java script, you have to call the  Java script
method to encrypt your Username and password which might be coming from CSV
or User define variable. And then Set the output of that method to some
variable. And use this variable while doing Login action.

Check out the link for example.
http://capacitas.wordpress.com/2012/12/14/custom-java-beanshell-classes-and-methods-in-jmeter/?goback=.gmp_2017104.gde_2017104_member_196202416

First find the method. If you are not able to create beanshell then share
with us, we will create for you.

Thanks,
Niraj
On Tue, Mar 26, 2013 at 1:38 PM, shruthi shruthi...@infosys.com wrote:

 Hi Niraj,

 First I recorded the script. On the login request, both the user id and
 password values are encrypted. I can only see some special characters in
 place of the values I entered. Now, due to this I was not able to
 parameterize them. So I did the below to overcome this issue: before the
 recording, I added a user defined variable controller and added 2 variables
 - user id and password. Then I recorded the script. When I have followed
 this in the web apps, I find that the user id and password get
 parameterized while recording if user defined variable controller is added.
 However, in this case it did not. Playback failed. And all the requests
 subsequent to login has the initial issue (which I had mailed, where the
 request was getting redirected to login).

 Hope this clarifies. Let me know if you need more info for analysis.

 Regards
 Shruthi


 From: niraj [via JMeter] [mailto:ml-node+s512774n5716484...@n5.nabble.com]
 Sent: Tuesday, March 26, 2013 11:20 AM
 To: Shruthi B. S.
 Subject: Re: Jmeter Applets - help required

 I am kind of confuse over here. So let me understand your issue.

 First you recorded script. On login request you can see Username and
 Password. Am i right?

 Then you have added CSV data set config and provided CSV Path on that. Then
 you replaced hard coded User name and password with Variables. Correct me
 if i am wrong.

 When you say User ID and Password are encrypted. Where exactly encryption
 getting applied?

 On Mon, Mar 25, 2013 at 6:50 PM, shruthi [hidden
 email]/user/SendEmail.jtp?type=nodenode=5716484i=0 wrote:

  Hi Niraj,
 
  Yes my first problem is solved. Also I am able to validate using
  assertions. However, I am facing another issue - in the requests - the
 user
  id and password are encrypted. I tried adding these are user defined
  variables and recorded the script, however on playback I get the initial
  stated issue (login redirection). Now, if I remove this user defined
  variables and record, my script works fine. Can you please let me know
 how
  I can parameterize (same issue on added csv config )?
 
  Regards
  Shruthi
 
  From: niraj [via JMeter] [mailto:[hidden
 email]/user/SendEmail.jtp?type=nodenode=5716484i=1]
  Sent: Monday, March 25, 2013 3:07 PM
  To: Shruthi B. S.
  Subject: Re: Jmeter Applets - help required
 
  So your first problem is solve? For Validations, you need to add
  Assertions.
 
  On Mon, Mar 25, 2013 at 2:48 PM, shruthi [hidden
  email]/user/SendEmail.jtp?type=nodenode=5716470i=0 wrote:
 
   Hi Niraj,
  
   I have added the HTTP header manager. I now see some data in the
 response
   tab of the view result tree. However, I cannot see the application
  snapshot
when I change the mode to HTML or HTML (download resources). Can you
   please let me know how I can validate that what I am seeing in the
  response
   tab is what is expected? As what I see when I change the mode to HTML
 is
   the same as the text mode.
  
   Regards
   Shruthi
  
   From: niraj [via JMeter] [mailto:[hidden
  email]/user/SendEmail.jtp?type=nodenode=5716470i=1]
   Sent: Monday, March 25, 2013 2:10 PM
   To: Shruthi B. S.
   Subject: Re: Jmeter Applets - help required
  
   Can you give it try by adding HTTP Header Manger? Add header manager
 and
   try to run the test.
  
   On Mon, Mar 25, 2013 at 1:21 PM, shruthi [hidden
   email]/user/SendEmail.jtp?type=nodenode=5716465i=0 wrote:
  
Hi experts,
   
We need to performance test an application which is on applets. Below
  are
the steps we have followed and the result which we see. Any help on
   fixing
this would be appreciated.
   
Tool : Apache Jmeter 2.7
   
Settings:
Control panel - Java - network setting - use proxy server enabled
  with
address as localhost and port as 8080.
Same setting replicated in the jmeter proxy server
   
We have recorded a scenario and when we playback we see all the
  requests
   in
green with Response code: 200 and Response message: OK
However, we find that all HTTP requests subsequent to login is
 getting
redirected to the login page.
   
Response tab:
HTML
HEAD
META http-equiv=Content-Type content=text/html

Re: JMeter Plugin with Sonar

2013-03-25 Thread Niraj
Thanks again Carlos.

But looks like i am missing on something. As i have mentioned earlier that
i don't have any projects added. So when i am project dashboard. I don't
see any thing.

Can you please provide me some pointers which will help me to add projects?

Thanks,
Niraj

On Sat, Mar 23, 2013 at 11:12 PM, Carlos Fillol Sendra
carfi...@gmail.comwrote:

 Hi Niraj,

 Try this. Tested with Sonar 3.5:

- Go to your project dashboard and select Configuration  Settings 
JMeter (be careful, this is your project configuration for jmeter sonar
plugin, do not select Settings  Configuration  JMeter, that will bring
yot to the global configuration for all the projects)
- In project configuration of JMeter sonar plugin you will see a
property named *Local jtl file*. Set the local path to your project
jtl file in this property.

 [image: Imágenes integradas 1]

 2013/3/22 Niraj niraj.khatm...@gmail.com

 Thanks Carlos for a detailed explanation. However i am still not able to
 view JMeter results.

 Please find below steps which i have followed:
 1. Downloaded jmeter-sonar-plugin-0.3 and copied to
 C:\sonar-3.5\extensions\plugins.
 2. Restarted SONAR.

 But Can you please let me know when i have Sonar and .jtl file on same
 machine, where i need to specify path of .jtl file.

 Also when i have added JMeter widget to dashboard, i got the error An
 error occurred while trying to display the widget jmeter. Please contact
 the administrator.

 Thanks,
 Niraj


 On Fri, Mar 22, 2013 at 2:24 AM, Carlos Fillol Sendra carfi...@gmail.com
 wrote:

  Hi Niraj,
 
  Last JMeter Sonar Plugin release is 0.2 but I recomend you to use last
 0.3
  snapshot because is more stable than version 0.2.
 
  JMeter Sonar Plugin will try to get jtl info when 'mvn sonar:sonar' is
  invoked.
 
  So you will have to:
 
 - Configure and run jmeter-report-server in the remote machine where
 you
 have the jtl file. Basically:
 
 
 - Download and uncompress jmeter-report-server-0.3 last
  snapshot
 
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/jmeter-report-server/0.3-SNAPSHOT/jmeter-report-server-0.3-20130128.181910-2-dist.zip
  
- Add a line like this in
 properties/jmeter-report-server.properties:
 
  testconfig.*yourconfigname*.jtlpath=*/path/to/jtl/file.jtl*
 
 - Start jmeter-report-server so it will be ready to receive incoming
requests from jmeter sonar from sonar machine. You can do this
  executing
jmeter-report-server.bat (in Windows) or jmeter-report-server.bat.
 
 
 - Download jmeter-sonar-plugin-0.3 last
  snaphot
 
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/sonar-jmeter-plugin/0.3-SNAPSHOT/sonar-jmeter-plugin-0.3-20130128.182314-2.jar
  into
  Sonar machine, into Sonar extensions/plugins folder, and restart
  Sonar.
 - Configure JMeter Plugin parameters in the corresponding project in
 Sonar web portal. You have to set jmeter-report-server machine IP and
  port
 (default port is ), and the test config name (in this case it
 would
  be
 *yourconfigname*)
 - Go to project sources folder in Sonar machine and run command 'mvn
 sonar:sonar'. This will make that jmeter-sonar-plugin try to bring
  jmeter
 test results from jmeter-report-server. This will work on a basic
 installation of Sonar. In case that you use jenkins or hudson in an
  other
 machine you may have to configure maven there to be able to find
 Sonar
 server.
 
 
  All that in the case that jtl file was in another machine different than
  the machine where Sonar runs. If the case that jtl file was in the same
  Sonar machine, things became less difficult: you wouldn't have to
 install
  Jmeter Report Server (only JMeter Sonar Plugin), and it will be enough
 to
  configure jtl file local location in Sonar configuration of your
 project.
 
 
  Regards,
 
  Carlos Fillol
 
  2013/3/21 Niraj niraj.khatm...@gmail.com
 
   I will check with Sonar folks if they can help me. If i am able to
  resolve
   this then i will add solution in thread. Thanks!
  
   On Thu, Mar 21, 2013 at 3:25 PM, Adrian Speteanu asp.ad...@gmail.com
   wrote:
  
Oops, I shouldn't have assumed you're running it in/with Jenkins.
 I'm
   stuck
then also. Maybe the people from Sonar can help you.
   
Regards,
Adrian S
   
On Thu, Mar 21, 2013 at 8:59 AM, Niraj niraj.khatm...@gmail.com
  wrote:
   
 Nope. I have setup Sonar and provided .JTL file in JMeter
   configurations.

 On Wed, Mar 20, 2013 at 11:01 PM, Adrian Speteanu 
  asp.ad...@gmail.com
 wrote:

  You do have Jenkins with Sonar installed? and have you followed
 the
  instructions regarding the Report Server?
 
  It should work just like any other plugin if everything is in
  place.
   Of
  course I can't be of much help with Sonar itself if its not
  properly
 setup
  in Jenkins, since in my case

Re: Jmeter Applets - help required

2013-03-25 Thread Niraj
Can you give it try by adding HTTP Header Manger? Add header manager and
try to run the test.

On Mon, Mar 25, 2013 at 1:21 PM, shruthi shruthi...@infosys.com wrote:

 Hi experts,

 We need to performance test an application which is on applets. Below are
 the steps we have followed and the result which we see. Any help on fixing
 this would be appreciated.

 Tool : Apache Jmeter 2.7

 Settings:
 Control panel - Java - network setting - use proxy server enabled with
 address as localhost and port as 8080.
 Same setting replicated in the jmeter proxy server

 We have recorded a scenario and when we playback we see all the requests in
 green with Response code: 200 and Response message: OK
 However, we find that all HTTP requests subsequent to login is getting
 redirected to the login page.

 Response tab:
 HTML
 HEAD
 META http-equiv=Content-Type content=text/html; charset=ISO-8859-1
 /HEAD

 BODY onload=redirect()
 /BODY
 /HTML

 HTTP cookie manager has been added with cookie policy set to compatibility
 mode.

 Please let us know what we need to do to ensure that the script works.

 Let me know if any further info is required for analysis.

 Regards
 Shruthi




 --
 View this message in context:
 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Jmeter Applets - help required

2013-03-25 Thread Niraj
So your first problem is solve? For Validations, you need to add
Assertions.

On Mon, Mar 25, 2013 at 2:48 PM, shruthi shruthi...@infosys.com wrote:

 Hi Niraj,

 I have added the HTTP header manager. I now see some data in the response
 tab of the view result tree. However, I cannot see the application snapshot
  when I change the mode to HTML or HTML (download resources). Can you
 please let me know how I can validate that what I am seeing in the response
 tab is what is expected? As what I see when I change the mode to HTML is
 the same as the text mode.

 Regards
 Shruthi

 From: niraj [via JMeter] [mailto:ml-node+s512774n5716465...@n5.nabble.com]
 Sent: Monday, March 25, 2013 2:10 PM
 To: Shruthi B. S.
 Subject: Re: Jmeter Applets - help required

 Can you give it try by adding HTTP Header Manger? Add header manager and
 try to run the test.

 On Mon, Mar 25, 2013 at 1:21 PM, shruthi [hidden
 email]/user/SendEmail.jtp?type=nodenode=5716465i=0 wrote:

  Hi experts,
 
  We need to performance test an application which is on applets. Below are
  the steps we have followed and the result which we see. Any help on
 fixing
  this would be appreciated.
 
  Tool : Apache Jmeter 2.7
 
  Settings:
  Control panel - Java - network setting - use proxy server enabled with
  address as localhost and port as 8080.
  Same setting replicated in the jmeter proxy server
 
  We have recorded a scenario and when we playback we see all the requests
 in
  green with Response code: 200 and Response message: OK
  However, we find that all HTTP requests subsequent to login is getting
  redirected to the login page.
 
  Response tab:
  HTML
  HEAD
  META http-equiv=Content-Type content=text/html; charset=ISO-8859-1
  /HEAD
 
  BODY onload=redirect()
  /BODY
  /HTML
 
  HTTP cookie manager has been added with cookie policy set to
 compatibility
  mode.
 
  Please let us know what we need to do to ensure that the script works.
 
  Let me know if any further info is required for analysis.
 
  Regards
  Shruthi
 
 
 
 
  --
  View this message in context:
 
 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463.html
  Sent from the JMeter - User mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: [hidden
 email]/user/SendEmail.jtp?type=nodenode=5716465i=1
  For additional commands, e-mail: [hidden
 email]/user/SendEmail.jtp?type=nodenode=5716465i=2
 
 

 
 If you reply to this email, your message will be added to the discussion
 below:

 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463p5716465.html
 To unsubscribe from Jmeter Applets - help required, click here
 http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=5716463code=U2hydXRoaV9CU0BpbmZvc3lzLmNvbXw1NzE2NDYzfDEyOTY5MjkyMzk=
 .
 NAML
 http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
 

  CAUTION - Disclaimer *
 This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
 solely
 for the use of the addressee(s). If you are not the intended recipient,
 please
 notify the sender by e-mail and delete the original message. Further, you
 are not
 to copy, disclose, or distribute this e-mail or its contents to any other
 person and
 any such actions are unlawful. This e-mail may contain viruses. Infosys
 has taken
 every reasonable precaution to minimize this risk, but is not liable for
 any damage
 you may sustain as a result of any virus in this e-mail. You should carry
 out your
 own virus checks before opening the e-mail or attachment. Infosys reserves
 the
 right to monitor and review the content of all messages sent to or from
 this e-mail
 address. Messages sent to or from this e-mail address may be stored on the
 Infosys e-mail system.
 ***INFOSYS End of Disclaimer INFOSYS***




 --
 View this message in context:
 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463p5716467.html
 Sent from the JMeter - User mailing list archive at Nabble.com.



Re: Jmeter Applets - help required

2013-03-25 Thread Niraj
I am kind of confuse over here. So let me understand your issue.

First you recorded script. On login request you can see Username and
Password. Am i right?

Then you have added CSV data set config and provided CSV Path on that. Then
you replaced hard coded User name and password with Variables. Correct me
if i am wrong.

When you say User ID and Password are encrypted. Where exactly encryption
getting applied?

On Mon, Mar 25, 2013 at 6:50 PM, shruthi shruthi...@infosys.com wrote:

 Hi Niraj,

 Yes my first problem is solved. Also I am able to validate using
 assertions. However, I am facing another issue - in the requests - the user
 id and password are encrypted. I tried adding these are user defined
 variables and recorded the script, however on playback I get the initial
 stated issue (login redirection). Now, if I remove this user defined
 variables and record, my script works fine. Can you please let me know how
 I can parameterize (same issue on added csv config )?

 Regards
 Shruthi

 From: niraj [via JMeter] [mailto:ml-node+s512774n571647...@n5.nabble.com]
 Sent: Monday, March 25, 2013 3:07 PM
 To: Shruthi B. S.
 Subject: Re: Jmeter Applets - help required

 So your first problem is solve? For Validations, you need to add
 Assertions.

 On Mon, Mar 25, 2013 at 2:48 PM, shruthi [hidden
 email]/user/SendEmail.jtp?type=nodenode=5716470i=0 wrote:

  Hi Niraj,
 
  I have added the HTTP header manager. I now see some data in the response
  tab of the view result tree. However, I cannot see the application
 snapshot
   when I change the mode to HTML or HTML (download resources). Can you
  please let me know how I can validate that what I am seeing in the
 response
  tab is what is expected? As what I see when I change the mode to HTML is
  the same as the text mode.
 
  Regards
  Shruthi
 
  From: niraj [via JMeter] [mailto:[hidden
 email]/user/SendEmail.jtp?type=nodenode=5716470i=1]
  Sent: Monday, March 25, 2013 2:10 PM
  To: Shruthi B. S.
  Subject: Re: Jmeter Applets - help required
 
  Can you give it try by adding HTTP Header Manger? Add header manager and
  try to run the test.
 
  On Mon, Mar 25, 2013 at 1:21 PM, shruthi [hidden
  email]/user/SendEmail.jtp?type=nodenode=5716465i=0 wrote:
 
   Hi experts,
  
   We need to performance test an application which is on applets. Below
 are
   the steps we have followed and the result which we see. Any help on
  fixing
   this would be appreciated.
  
   Tool : Apache Jmeter 2.7
  
   Settings:
   Control panel - Java - network setting - use proxy server enabled
 with
   address as localhost and port as 8080.
   Same setting replicated in the jmeter proxy server
  
   We have recorded a scenario and when we playback we see all the
 requests
  in
   green with Response code: 200 and Response message: OK
   However, we find that all HTTP requests subsequent to login is getting
   redirected to the login page.
  
   Response tab:
   HTML
   HEAD
   META http-equiv=Content-Type content=text/html;
 charset=ISO-8859-1
   /HEAD
  
   BODY onload=redirect()
   /BODY
   /HTML
  
   HTTP cookie manager has been added with cookie policy set to
  compatibility
   mode.
  
   Please let us know what we need to do to ensure that the script works.
  
   Let me know if any further info is required for analysis.
  
   Regards
   Shruthi
  
  
  
  
   --
   View this message in context:
  
 
 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463.html
   Sent from the JMeter - User mailing list archive at Nabble.com.
  
   -
   To unsubscribe, e-mail: [hidden
  email]/user/SendEmail.jtp?type=nodenode=5716465i=1
   For additional commands, e-mail: [hidden
  email]/user/SendEmail.jtp?type=nodenode=5716465i=2
  
  
 
  
  If you reply to this email, your message will be added to the discussion
  below:
 
 
 http://jmeter.512774.n5.nabble.com/Jmeter-Applets-help-required-tp5716463p5716465.html
  To unsubscribe from Jmeter Applets - help required, click here
  .
  NAML
 
 http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  
 
   CAUTION - Disclaimer *
  This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
  solely
  for the use of the addressee(s). If you are not the intended recipient,
  please
  notify the sender by e-mail and delete the original message. Further, you
  are not
  to copy, disclose, or distribute this e-mail or its contents to any other
  person and
  any such actions are unlawful. This e-mail may contain viruses. Infosys
  has taken
  every reasonable precaution to minimize

Re: JMeter Plugin with Sonar

2013-03-22 Thread Niraj
Thanks Carlos for a detailed explanation. However i am still not able to
view JMeter results.

Please find below steps which i have followed:
1. Downloaded jmeter-sonar-plugin-0.3 and copied to
C:\sonar-3.5\extensions\plugins.
2. Restarted SONAR.

But Can you please let me know when i have Sonar and .jtl file on same
machine, where i need to specify path of .jtl file.

Also when i have added JMeter widget to dashboard, i got the error An
error occurred while trying to display the widget jmeter. Please contact
the administrator.

Thanks,
Niraj


On Fri, Mar 22, 2013 at 2:24 AM, Carlos Fillol Sendra carfi...@gmail.comwrote:

 Hi Niraj,

 Last JMeter Sonar Plugin release is 0.2 but I recomend you to use last 0.3
 snapshot because is more stable than version 0.2.

 JMeter Sonar Plugin will try to get jtl info when 'mvn sonar:sonar' is
 invoked.

 So you will have to:

- Configure and run jmeter-report-server in the remote machine where you
have the jtl file. Basically:


- Download and uncompress jmeter-report-server-0.3 last
 snapshot
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/jmeter-report-server/0.3-SNAPSHOT/jmeter-report-server-0.3-20130128.181910-2-dist.zip
 
   - Add a line like this in properties/jmeter-report-server.properties:

 testconfig.*yourconfigname*.jtlpath=*/path/to/jtl/file.jtl*

- Start jmeter-report-server so it will be ready to receive incoming
   requests from jmeter sonar from sonar machine. You can do this
 executing
   jmeter-report-server.bat (in Windows) or jmeter-report-server.bat.


- Download jmeter-sonar-plugin-0.3 last
 snaphot
 http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/sonar-jmeter-plugin/0.3-SNAPSHOT/sonar-jmeter-plugin-0.3-20130128.182314-2.jar
 into
 Sonar machine, into Sonar extensions/plugins folder, and restart
 Sonar.
- Configure JMeter Plugin parameters in the corresponding project in
Sonar web portal. You have to set jmeter-report-server machine IP and
 port
(default port is ), and the test config name (in this case it would
 be
*yourconfigname*)
- Go to project sources folder in Sonar machine and run command 'mvn
sonar:sonar'. This will make that jmeter-sonar-plugin try to bring
 jmeter
test results from jmeter-report-server. This will work on a basic
installation of Sonar. In case that you use jenkins or hudson in an
 other
machine you may have to configure maven there to be able to find Sonar
server.


 All that in the case that jtl file was in another machine different than
 the machine where Sonar runs. If the case that jtl file was in the same
 Sonar machine, things became less difficult: you wouldn't have to install
 Jmeter Report Server (only JMeter Sonar Plugin), and it will be enough to
 configure jtl file local location in Sonar configuration of your project.


 Regards,

 Carlos Fillol

 2013/3/21 Niraj niraj.khatm...@gmail.com

  I will check with Sonar folks if they can help me. If i am able to
 resolve
  this then i will add solution in thread. Thanks!
 
  On Thu, Mar 21, 2013 at 3:25 PM, Adrian Speteanu asp.ad...@gmail.com
  wrote:
 
   Oops, I shouldn't have assumed you're running it in/with Jenkins. I'm
  stuck
   then also. Maybe the people from Sonar can help you.
  
   Regards,
   Adrian S
  
   On Thu, Mar 21, 2013 at 8:59 AM, Niraj niraj.khatm...@gmail.com
 wrote:
  
Nope. I have setup Sonar and provided .JTL file in JMeter
  configurations.
   
On Wed, Mar 20, 2013 at 11:01 PM, Adrian Speteanu 
 asp.ad...@gmail.com
wrote:
   
 You do have Jenkins with Sonar installed? and have you followed the
 instructions regarding the Report Server?

 It should work just like any other plugin if everything is in
 place.
  Of
 course I can't be of much help with Sonar itself if its not
 properly
setup
 in Jenkins, since in my case it was already installed and used by
 the
 development team for other measurements.

 Regards,
 Adrian S

 On Wed, Mar 20, 2013 at 7:11 PM, Niraj niraj.khatm...@gmail.com
   wrote:

  Do I need to use Maven to get this work?
  On Mar 20, 2013 6:08 PM, Niraj niraj.khatm...@gmail.com
 wrote:
 
   I am sorry about not adding complete details.
  
   Steps which i have followed:
  
   Downloaded Sonar JMeter plugin and copied to
   C:\sonar-3.5\extensions\plugins .
   I ran the JMeter test and got the .jtl file.
   Added path of .jtl file to Settings-JMeter-Remote Server host
(Remote
   jmeter report server host, used for getting remote results if
 no
local
  jtl
   file is defined.)
   Restarted Sonar.
   But i am not able see anything under projects.
  
   Am i missing something?
  
   On Wed, Mar 20, 2013 at 5:56 PM, llow...@oreillyauto.com
  wrote:
  
   Niraj niraj.khatm...@gmail.com wrote on 03/20/2013 07:23:52
  AM

Re: JMeter Plugin with Sonar

2013-03-21 Thread Niraj
Nope. I have setup Sonar and provided .JTL file in JMeter configurations.

On Wed, Mar 20, 2013 at 11:01 PM, Adrian Speteanu asp.ad...@gmail.comwrote:

 You do have Jenkins with Sonar installed? and have you followed the
 instructions regarding the Report Server?

 It should work just like any other plugin if everything is in place. Of
 course I can't be of much help with Sonar itself if its not properly setup
 in Jenkins, since in my case it was already installed and used by the
 development team for other measurements.

 Regards,
 Adrian S

 On Wed, Mar 20, 2013 at 7:11 PM, Niraj niraj.khatm...@gmail.com wrote:

  Do I need to use Maven to get this work?
  On Mar 20, 2013 6:08 PM, Niraj niraj.khatm...@gmail.com wrote:
 
   I am sorry about not adding complete details.
  
   Steps which i have followed:
  
   Downloaded Sonar JMeter plugin and copied to
   C:\sonar-3.5\extensions\plugins .
   I ran the JMeter test and got the .jtl file.
   Added path of .jtl file to Settings-JMeter-Remote Server host (Remote
   jmeter report server host, used for getting remote results if no local
  jtl
   file is defined.)
   Restarted Sonar.
   But i am not able see anything under projects.
  
   Am i missing something?
  
   On Wed, Mar 20, 2013 at 5:56 PM, llow...@oreillyauto.com wrote:
  
   Niraj niraj.khatm...@gmail.com wrote on 03/20/2013 07:23:52 AM:
  
From: Niraj niraj.khatm...@gmail.com
To: JMeter Users List user@jmeter.apache.org
Date: 03/20/2013 07:24 AM
Subject: JMeter Plugin with Sonar
   
Hello All,
   
Anyone tried JMeter plugin with Sonar?
   
http://docs.codehaus.org/display/SONAR/JMeter+Plugin
   
I am facing some issues. Some one please help me on this.
   
  
   If you want help, you'll need to describe the problem, describe what
 you
   tried to fix it etc.
  
   http://www.catb.org/esr/faqs/smart-questions.html
  
Thanks,
Niraj
   
--
This message has been scanned for viruses and dangerous content,
and is believed to be clean.
  Message id: 5CED4600A39.A91D9
   
   
  
   This communication and any attachments are confidential, protected by
   Communications Privacy Act 18 USCS § 2510, solely for the use of the
   intended recipient, and may contain legally privileged material. If
 you
  are
   not the intended recipient, please return or destroy it immediately.
  Thank
   you.
  
   -
   To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
   For additional commands, e-mail: user-h...@jmeter.apache.org
  
  
  
 



Re: JMeter Plugin with Sonar

2013-03-21 Thread Niraj
I will check with Sonar folks if they can help me. If i am able to resolve
this then i will add solution in thread. Thanks!

On Thu, Mar 21, 2013 at 3:25 PM, Adrian Speteanu asp.ad...@gmail.comwrote:

 Oops, I shouldn't have assumed you're running it in/with Jenkins. I'm stuck
 then also. Maybe the people from Sonar can help you.

 Regards,
 Adrian S

 On Thu, Mar 21, 2013 at 8:59 AM, Niraj niraj.khatm...@gmail.com wrote:

  Nope. I have setup Sonar and provided .JTL file in JMeter configurations.
 
  On Wed, Mar 20, 2013 at 11:01 PM, Adrian Speteanu asp.ad...@gmail.com
  wrote:
 
   You do have Jenkins with Sonar installed? and have you followed the
   instructions regarding the Report Server?
  
   It should work just like any other plugin if everything is in place. Of
   course I can't be of much help with Sonar itself if its not properly
  setup
   in Jenkins, since in my case it was already installed and used by the
   development team for other measurements.
  
   Regards,
   Adrian S
  
   On Wed, Mar 20, 2013 at 7:11 PM, Niraj niraj.khatm...@gmail.com
 wrote:
  
Do I need to use Maven to get this work?
On Mar 20, 2013 6:08 PM, Niraj niraj.khatm...@gmail.com wrote:
   
 I am sorry about not adding complete details.

 Steps which i have followed:

 Downloaded Sonar JMeter plugin and copied to
 C:\sonar-3.5\extensions\plugins .
 I ran the JMeter test and got the .jtl file.
 Added path of .jtl file to Settings-JMeter-Remote Server host
  (Remote
 jmeter report server host, used for getting remote results if no
  local
jtl
 file is defined.)
 Restarted Sonar.
 But i am not able see anything under projects.

 Am i missing something?

 On Wed, Mar 20, 2013 at 5:56 PM, llow...@oreillyauto.com wrote:

 Niraj niraj.khatm...@gmail.com wrote on 03/20/2013 07:23:52 AM:

  From: Niraj niraj.khatm...@gmail.com
  To: JMeter Users List user@jmeter.apache.org
  Date: 03/20/2013 07:24 AM
  Subject: JMeter Plugin with Sonar
 
  Hello All,
 
  Anyone tried JMeter plugin with Sonar?
 
  http://docs.codehaus.org/display/SONAR/JMeter+Plugin
 
  I am facing some issues. Some one please help me on this.
 

 If you want help, you'll need to describe the problem, describe
 what
   you
 tried to fix it etc.

 http://www.catb.org/esr/faqs/smart-questions.html

  Thanks,
  Niraj
 
  --
  This message has been scanned for viruses and dangerous content,
  and is believed to be clean.
Message id: 5CED4600A39.A91D9
 
 

 This communication and any attachments are confidential, protected
  by
 Communications Privacy Act 18 USCS § 2510, solely for the use of
 the
 intended recipient, and may contain legally privileged material.
 If
   you
are
 not the intended recipient, please return or destroy it
 immediately.
Thank
 you.


  -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org



   
  
 



Re: JMeter Plugin with Sonar

2013-03-20 Thread Niraj
I am sorry about not adding complete details.

Steps which i have followed:

Downloaded Sonar JMeter plugin and copied to
C:\sonar-3.5\extensions\plugins .
I ran the JMeter test and got the .jtl file.
Added path of .jtl file to Settings-JMeter-Remote Server host (Remote
jmeter report server host, used for getting remote results if no local jtl
file is defined.)
Restarted Sonar.
But i am not able see anything under projects.

Am i missing something?

On Wed, Mar 20, 2013 at 5:56 PM, llow...@oreillyauto.com wrote:

 Niraj niraj.khatm...@gmail.com wrote on 03/20/2013 07:23:52 AM:

  From: Niraj niraj.khatm...@gmail.com
  To: JMeter Users List user@jmeter.apache.org
  Date: 03/20/2013 07:24 AM
  Subject: JMeter Plugin with Sonar
 
  Hello All,
 
  Anyone tried JMeter plugin with Sonar?
 
  http://docs.codehaus.org/display/SONAR/JMeter+Plugin
 
  I am facing some issues. Some one please help me on this.
 

 If you want help, you'll need to describe the problem, describe what you
 tried to fix it etc.

 http://www.catb.org/esr/faqs/smart-questions.html

  Thanks,
  Niraj
 
  --
  This message has been scanned for viruses and dangerous content,
  and is believed to be clean.
Message id: 5CED4600A39.A91D9
 
 

 This communication and any attachments are confidential, protected by
 Communications Privacy Act 18 USCS § 2510, solely for the use of the
 intended recipient, and may contain legally privileged material. If you are
 not the intended recipient, please return or destroy it immediately. Thank
 you.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: JMeter Plugin with Sonar

2013-03-20 Thread Niraj
Do I need to use Maven to get this work?
On Mar 20, 2013 6:08 PM, Niraj niraj.khatm...@gmail.com wrote:

 I am sorry about not adding complete details.

 Steps which i have followed:

 Downloaded Sonar JMeter plugin and copied to
 C:\sonar-3.5\extensions\plugins .
 I ran the JMeter test and got the .jtl file.
 Added path of .jtl file to Settings-JMeter-Remote Server host (Remote
 jmeter report server host, used for getting remote results if no local jtl
 file is defined.)
 Restarted Sonar.
 But i am not able see anything under projects.

 Am i missing something?

 On Wed, Mar 20, 2013 at 5:56 PM, llow...@oreillyauto.com wrote:

 Niraj niraj.khatm...@gmail.com wrote on 03/20/2013 07:23:52 AM:

  From: Niraj niraj.khatm...@gmail.com
  To: JMeter Users List user@jmeter.apache.org
  Date: 03/20/2013 07:24 AM
  Subject: JMeter Plugin with Sonar
 
  Hello All,
 
  Anyone tried JMeter plugin with Sonar?
 
  http://docs.codehaus.org/display/SONAR/JMeter+Plugin
 
  I am facing some issues. Some one please help me on this.
 

 If you want help, you'll need to describe the problem, describe what you
 tried to fix it etc.

 http://www.catb.org/esr/faqs/smart-questions.html

  Thanks,
  Niraj
 
  --
  This message has been scanned for viruses and dangerous content,
  and is believed to be clean.
Message id: 5CED4600A39.A91D9
 
 

 This communication and any attachments are confidential, protected by
 Communications Privacy Act 18 USCS § 2510, solely for the use of the
 intended recipient, and may contain legally privileged material. If you are
 not the intended recipient, please return or destroy it immediately. Thank
 you.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org





Re: JMeter max VUser llimit

2013-03-14 Thread Niraj
Shaba: How do you wisely distribute traffic across machines in Distributed
mode? I guess JMeter will do that. Please correct me if i am wrong.

Rohit: Answer to your second question is Yes.

On Thu, Mar 14, 2013 at 5:17 PM, Shaba K shabazi...@gmail.com wrote:

 You have to have  hardware infrastruture ..

 As long as you build ur scripts wisely 7 distribute your load across
 different machines.

 I've mimiced upto 40 K users.

 Cheers,
 S



 On Thu, Mar 14, 2013 at 11:42 AM, Rohit Soni
 rohit.s...@hqcc.sahara.co.inwrote:

  Hi All,
 
  1-  I wanted to know the maximum VUsers limit that JMeter can easily
  perform.
  My application is going to expose to nearly 12,000 users and nearly 8,000
  CC
  users. Peak loan in the morning around 09:00 AM and 06:00 PM.
 
  2-  Also, will JMeter supports Web2.0?
 
  Thanks and Regards,
  Rohit Soni
  Sahara India
  Mob: 8896122232
  Email: rohit.s...@hqcc.sahara.co.in
 
 
 
  -
  To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
  For additional commands, e-mail: user-h...@jmeter.apache.org
 
 



Re: Persist JSESSIONID throughout a TestPlan

2013-03-11 Thread Niraj
You can extract JSession ID using regular expression and then add that in
your next subsequent thread groups. I haven't tried this but i guess it
should work.

On Mon, Mar 11, 2013 at 5:18 PM, Alaka P A alaka...@gmail.com wrote:

 I have to test the webserver which has to maintain sessions.
 For this purpose I need to maintain session ids in jmeter.
 It has been working for ThreadGroup as I
 am using HTTP Cookie Manager for every Thread Group.
 But i want to use the same
 JSESSIONID across the test plan which includes several Thread Groups.
 Not able to achieve this.
 I tried using HTTP Cookie Manager globally for a Test Plan,
 But it didnt work.
 I am using jmeter 2.5 version. Can anybody help me with this?
 Thanks !


 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: While recording Login page is blanked

2013-03-05 Thread Niraj
Hey Shamuel,

Thanks for the response.
1. Our site is down for the maintenance issue and it will be UP you in
sometime. I will add logs in thread.
2. Yes, IE and Crome actually using Jmeter proxy. I checked that twice.

Thanks,
Niraj

On Tue, Mar 5, 2013 at 1:42 PM, Shmuel Krakower shmul...@gmail.com wrote:

 1. Any useful info in the JMeter log files or console?
 2. Are you sure IE or Chrome actually using the JMeter Proxy? Any samplers
 are being recorded?

 Shmuel Krakower.
 www.Beatsoo.org - re-use your jmeter scripts for application performance
 monitoring from worldwide locations for free.


 On Mon, Mar 4, 2013 at 8:14 AM, Niraj niraj.khatm...@gmail.com wrote:

  Hello All,
 
  I am facing one issue when browser is configure with the Jmeter proxy.
 
  When proxy is Started and hit login URL, i am getting blank page. But
 when
  there was no proxy, i am properly getting all the contents on Login page.
 
  This happening with Firefox only. If i use IE or Crome everything works
  well with proxy. But our side is only works well on Firefox.
 
  Any solution to this issue?
 
  Thanks,
  Niraj
 



While recording Login page is blanked

2013-03-03 Thread Niraj
Hello All,

I am facing one issue when browser is configure with the Jmeter proxy.

When proxy is Started and hit login URL, i am getting blank page. But when
there was no proxy, i am properly getting all the contents on Login page.

This happening with Firefox only. If i use IE or Crome everything works
well with proxy. But our side is only works well on Firefox.

Any solution to this issue?

Thanks,
Niraj


Re: Simultaneous Test with jmeter

2013-01-23 Thread Niraj
Use Steeping thread group.

On Thu, Jan 24, 2013 at 12:36 PM, ashish solanki solanki@gmail.comwrote:

 Hi all,

 I want to test application with 100 users, 20 users start with 5 second of
 delay until 100 users finished.



 Regards,

 Ashish



 -
 A.N. Solanki
 --
 View this message in context:
 http://jmeter.512774.n5.nabble.com/Simultaneous-Test-with-jmeter-tp5715931.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: JMeter out of memory

2013-01-09 Thread Niraj
 View Results in Table and View Results in Tree listeners consumes lot's of
memory. Remove this two listeners and re-run the test again.

If you are still facing the same issue then use distributed testing.

On Wed, Jan 9, 2013 at 2:24 PM, Srinivasa Tekkatte Shenoy 
tsrinivas.she...@mimos.my wrote:

 Hi All,

 I am executing the JMeter for a script with 100 user threads for 2 hours
 duration and loop count set to Forever. Ramp up and ramp down in of total
 100 users in one minute.

 The min and max Heap size of Jmeter.bat is set as 1GB. It cannot be
 increase to more. Whether any other way to increase the heap size.

 We currently have listeners for Summary Report, View Results in Table and
 View Results in Tree.

 I am getting out of memory error after 30minutes.  Could you please let me
 know how to fix this.

 Thank You

 Regards
 Shenoy



 --
 -
 -
 DISCLAIMER:

 This e-mail (including any attachments) is for the addressee(s)
 only and may contain confidential information. If you are not the
 intended recipient, please note that any dealing, review,
 distribution, printing, copying or use of this e-mail is strictly
 prohibited. If you have received this email in error, please notify
 the sender  immediately and delete the original message.
 MIMOS Berhad is a research and development institution under
 the purview of the Malaysian Ministry of Science, Technology and
 Innovation. Opinions, conclusions and other information in this e-
 mail that do not relate to the official business of MIMOS Berhad
 and/or its subsidiaries shall be understood as neither given nor
 endorsed by MIMOS Berhad and/or its subsidiaries and neither
 MIMOS Berhad nor its subsidiaries accepts responsibility for the
 same. All liability arising from or in connection with computer
 viruses and/or corrupted e-mails is excluded to the fullest extent
 permitted by law.




Re: executing individual pages..

2012-10-10 Thread Niraj
Hi Lakshmi,

You can disable to request which you don't want to execute and run the
test.

Thanks,
Niraj

On Wed, Oct 10, 2012 at 1:34 PM, Lakshmi Sujatha Chekuri -ERS, HCL Tech 
lakshmisujath...@hcl.com wrote:

 Hi list,

 I have a question. Below is my scenario regarding my query

 If we create a script which consists two or three pages. Is it possible to
 execute only one page URL from this script instead of entire script?

 Any help is appreciable.

 Thanks  Regards
 Lakshmi Sujatha



 ::DISCLAIMER::

 

 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
 E-mail transmission is not guaranteed to be secure or error-free as
 information could be intercepted, corrupted,
 lost, destroyed, arrive late or incomplete, or may contain viruses in
 transmission. The e mail and its contents
 (with or without referred errors) shall therefore not attach any liability
 on the originator or HCL or its affiliates.
 Views or opinions, if any, presented in this email are solely those of the
 author and may not necessarily reflect the
 views or opinions of HCL or its affiliates. Any form of reproduction,
 dissemination, copying, disclosure, modification,
 distribution and / or publication of this message without the prior
 written consent of authorized representative of
 HCL is strictly prohibited. If you have received this email in error
 please delete it and notify the sender immediately.
 Before opening any email and/or attachments, please check them for viruses
 and other defects.


 



Re: Running once per test

2012-10-08 Thread Niraj
Try with Once Only Controller. Add the request under this controller.

On Mon, Oct 8, 2012 at 6:50 PM, rakesh mailgroups 
rakesh.mailgro...@gmail.com wrote:

 Hi,

 is it possible to have a Sampler run only once per test, not per
 User(thread)?

 The sampler goes to a url and through a Regex Extractor, sets variable for
 later use. At the moment, the call always happens per User, I just need it
 to run once to set the variables.

 I also tried using a setUp Thread Group but the variables were out of scope
 in the main thread group.

 Any advice?

 Thanks

 Rakesh



Re: running JMeter server on unix

2012-09-10 Thread Niraj
Glad to know that.

On Mon, Sep 10, 2012 at 3:42 PM, Robbie Vos robbie@clickatell.comwrote:

  http://smtp05.clickatell.com/rs/TkIKMo
 Hey Niraj,

 Your suggestion works. Thanks!


 Regards,
 Robbie


   *Robbie Vos **- Senior PHP Developer*

 *E* robbie@clickatell.com  *T *+27 21 910 7700 *F* +27 21 910 7701

  This e-mail message and all attachments transmitted with it are
 confidential and are intended solely for the addressee(s). If the reader of
 this message is not the intended recipient, you are hereby notified that
 any reading, dissemination, distribution, copying, or other use of this
 message or its attachment(s) is strictly prohibited. Clickatell does not
 recognise that a contract can be concluded by way of electronic
 communication. All contracts must be signed on paper and only authorised
 signatories in terms of the Clickatell Authorised Signatory Policy may
 contract on behalf of Clickatell. All provisions to the contrary contained
 in the Electronic Communications and Transactions Act 25 of 2002 are hereby
 specifically excluded.
 -Original Message-
 From: Niraj [mailto:niraj.khatm...@gmail.com]
 Sent: 07 September 2012 12:12 PM
 To: JMeter Users List
 Subject: Re: running JMeter server on unix

 Hey Robbie,

 Can you give it try to by adding machine name and IP address of the
 machine on Unix machine host file?

 Ex: Machine name 10.0.0.1

 Let me know if it works.

 Thanks,
 Niraj

 On Fri, Sep 7, 2012 at 3:36 PM, Robbie Vos robbie@clickatell.com
 wrote:

  http://smtp05.clickatell.com/rs/.ogMjq

  Hi,
 
  I am trying to get started using JMeter to perform distributed load
  testing. I have got it running on windows and have everything ready to
  go, but I am having some troubles getting the JMeter server to run under
 unix.
  The problem appears to have something to do with the the host name
  mapping to the 127.0.0.1 loopback address (apparently it's a problem
  with running jmeter under DHCP?).
 
  When I run:
  ./jmeter -n -s
 
  I get:
  Server failed to start: java.rmi.RemoteException: Cannot start.
  HOST_NAME is a loopback address.
  An error occurred: Cannot start. HOST_NAME is a loopback address.
 
  The only help I could find on this issue is the following link:
  https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042
 
  But I have been unable to get it to work. The fix in
  https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042/+
  attachment/1413750/+files/jmeter-server-script.patchdid not help, and I
 have no idea how to apply
 https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042/+attachment/1413749/+files/RemoteJMeterEngineImpl.patch(Ihave
  no RemoteJMeterEngineImpl.java file).

 
  I am running jmeter version: 2.6 and unix kernel: 2.6.38-8-generic.
 
  Any help with this issue will be much appreciated.
 
  Regards,
  Robbie
 
 
  *Robbie Vos **- Senior PHP Developer*
 
  *E* robbie@clickatell.com *T *+27 21 910 7700 *F* +27 21 910 7701

 
  This e-mail message and all attachments transmitted with it are
  confidential and are intended solely for the addressee(s). If the
  reader of this message is not the intended recipient, you are hereby
  notified that any reading, dissemination, distribution, copying, or
  other use of this message or its attachment(s) is strictly prohibited.
  Clickatell does not recognise that a contract can be concluded by way
  of electronic communication. All contracts must be signed on paper and
  only authorised signatories in terms of the Clickatell Authorised
  Signatory Policy may contract on behalf of Clickatell. All provisions
  to the contrary contained in the Electronic Communications and
  Transactions Act 25 of 2002 are hereby specifically excluded.
 
 






Re: running JMeter server on unix

2012-09-07 Thread Niraj
Hey Robbie,

Can you give it try to by adding machine name and IP address of the machine
on Unix machine host file?

Ex: Machine name10.0.0.1

Let me know if it works.

Thanks,
Niraj

On Fri, Sep 7, 2012 at 3:36 PM, Robbie Vos robbie@clickatell.comwrote:

  http://smtp05.clickatell.com/rs/.ogMjq
 Hi,

 I am trying to get started using JMeter to perform distributed load
 testing. I have got it running on windows and have everything ready to go,
 but I am having some troubles getting the JMeter server to run under unix.
 The problem appears to have something to do with the the host name mapping
 to the 127.0.0.1 loopback address (apparently it's a problem with running
 jmeter under DHCP?).

 When I run:
 ./jmeter -n -s

 I get:
 Server failed to start: java.rmi.RemoteException: Cannot start. HOST_NAME
 is a loopback address.
 An error occurred: Cannot start. HOST_NAME is a loopback address.

 The only help I could find on this issue is the following link:
 https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042

 But I have been unable to get it to work. The fix in
 https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042/+attachment/1413750/+files/jmeter-server-script.patchdid
  not help, and I have no idea how to apply
 https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/589042/+attachment/1413749/+files/RemoteJMeterEngineImpl.patch(I
  have no RemoteJMeterEngineImpl.java file).

 I am running jmeter version: 2.6 and unix kernel: 2.6.38-8-generic.

 Any help with this issue will be much appreciated.

 Regards,
 Robbie


   *Robbie Vos **- Senior PHP Developer*

 *E* robbie@clickatell.com  *T *+27 21 910 7700 *F* +27 21 910 7701

  This e-mail message and all attachments transmitted with it are
 confidential and are intended solely for the addressee(s). If the reader of
 this message is not the intended recipient, you are hereby notified that
 any reading, dissemination, distribution, copying, or other use of this
 message or its attachment(s) is strictly prohibited. Clickatell does not
 recognise that a contract can be concluded by way of electronic
 communication. All contracts must be signed on paper and only authorised
 signatories in terms of the Clickatell Authorised Signatory Policy may
 contract on behalf of Clickatell. All provisions to the contrary contained
 in the Electronic Communications and Transactions Act 25 of 2002 are hereby
 specifically excluded.




Re: Same sessionID for all Threads

2012-09-07 Thread Niraj
Cookie manger should handle this. Try running the test again and check out
the page response using View result tree listener.

On Fri, Sep 7, 2012 at 9:14 AM, Divya divyasing...@gmail.com wrote:

 Hi All,

 Using the Recording Controller, I recorded a series of transactions for a
 web application using a single user/pwd credentials. Once all the scenarios
 are captured the last step I performed is the Logout and then I stop the
 Http Proxy.This generates a bunch of request samplers which I sub divide
 under Transaction Controller accordingly. I have following doubts and
 questions:

 1) For some of the request samplers the parameter activeSessionId has a
 constant value for the GET request. (such that activeSessionId is passed
 as a queryString). Should this value be removed and assigned a dynamic
 value, although I have added a CookieManager at the Tread Group level?

 2) The value of the parameter activeSessionId is used by all the threads.
 Should I consider replacing this with a dynamically generated variable? If
 so, how can this be done?

 Thanks,
 D



Re: How to login to internal network through jmeter

2012-08-23 Thread Niraj
Sorry Ravinda. I really don't have any idea about why it's taking time when
you run first time.

Anyways but that additional time not going to reflect in your Jmeter
results. Off-course someone for Jmeter folks can help us to get the
answer.

On Thu, Aug 23, 2012 at 1:31 PM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 SEE THE JMETER LOG, does this log says anything about that?


 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine:
 Listeners will be started after enabling running version
 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine: To
 revert to the earlier behaviour, define
 jmeterengine.startlistenerslater=false
 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine: Running
 the test!
 2012/08/23 13:26:52 INFO  - jmeter.gui.util.JMeterMenuBar:
 setRunning(true,*local*)
 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine: Starting
 5 threads for group Thread Group.
 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine: Thread
 will continue on error
 2012/08/23 13:26:52 INFO  - jmeter.engine.StandardJMeterEngine: All
 threads have been started
 2012/08/23 13:26:52 INFO  - jmeter.threads.JMeterThread: Thread started:
 Thread Group 1-1
 2012/08/23 13:26:52 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
 Maximum connection retries = 10
 2012/08/23 13:26:53 INFO  - jmeter.threads.JMeterThread: Thread started:
 Thread Group 1-2
 2012/08/23 13:26:53 INFO  - jmeter.threads.JMeterThread: Thread started:
 Thread Group 1-3
 2012/08/23 13:26:53 INFO  - jmeter.threads.JMeterThread: Thread started:
 Thread Group 1-4
 2012/08/23 13:26:53 INFO  - jmeter.threads.JMeterThread: Thread started:
 Thread Group 1-5
 2012/08/23 13:29:56 INFO  - jmeter.threads.JMeterThread: Thread
 finished: Thread Group 1-1
 2012/08/23 13:29:56 INFO  - jmeter.engine.StandardJMeterEngine: Ending
 thread Thread Group 1-1
 2012/08/23 13:29:56 INFO  - jmeter.threads.JMeterThread: Thread
 finished: Thread Group 1-2
 2012/08/23 13:29:56 INFO  - jmeter.engine.StandardJMeterEngine: Ending
 thread Thread Group 1-2
 2012/08/23 13:29:57 INFO  - jmeter.threads.JMeterThread: Thread
 finished: Thread Group 1-5
 2012/08/23 13:29:57 INFO  - jmeter.engine.StandardJMeterEngine: Ending
 thread Thread Group 1-5
 2012/08/23 13:29:57 INFO  - jmeter.threads.JMeterThread: Thread
 finished: Thread Group 1-3
 2012/08/23 13:29:57 INFO  - jmeter.engine.StandardJMeterEngine: Ending
 thread Thread Group 1-3
 2012/08/23 13:29:57 INFO  - jmeter.threads.JMeterThread: Thread
 finished: Thread Group 1-4
 2012/08/23 13:29:57 INFO  - jmeter.engine.StandardJMeterEngine: Ending
 thread Thread Group 1-4
 2012/08/23 13:29:57 INFO  - jmeter.engine.StandardJMeterEngine:
 Notifying test listeners of end of test
 2012/08/23 13:29:57 INFO  - jmeter.gui.util.JMeterMenuBar:
 setRunning(false,*local*)
 2012/08/23 13:29:57 INFO  - jmeter.engine.StandardJMeterEngine: Test has
 ended on host null

 -Original Message-
 From: Samaraweera, Ravinda
 Sent: Thursday, August 23, 2012 12:48 PM
 To: 'JMeter Users List'
 Subject: RE: How to login to internal network through jmeter

 Im using jmeter 2.7, you are right it seems jmeter is processing... how
 can I see it? What it process? Why ?

 -Original Message-
 From: Niraj [mailto:niraj.khatm...@gmail.com]
 Sent: Thursday, August 23, 2012 12:25 PM
 To: JMeter Users List
 Subject: Re: How to login to internal network through jmeter

 Glad to know that your issue is resolved. I guess you are using Jmeter
 2.6
 or 2.7 for the execution.

 I am not sure why it's taking 3-4 mins to run the script. But that 3-4
 mins
 not adding into the response time.  Might be Jmeter must be doing
 prepossessing. I hope someone might have answer for the question.

 On Thu, Aug 23, 2012 at 12:09 PM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  Thanks Niraj it works like this for me,
 
  When I close the jmeter and open it , it waits for 3 to 4 minutes then
  run the script (HTTP HM authentication seems works) but still it waits
  for along time, when I access the site through FF browser it is very
  fast. (2sec).
 
 
  If I run the script without closing and opening jmeter for 1 more time
  then it quite fast (runs normal)
 
  I have just put HTTP AM just after the Thread group, also tried
 putting
  the same under 1st HTTP request. But still needs to wait 4 to 5
 minutes.
 
 
  Why is that.
 
  thanks
 
  -Original Message-
  From: Niraj [mailto:niraj.khatm...@gmail.com]
  Sent: Thursday, August 23, 2012 11:26 AM
  To: JMeter Users List
  Subject: Re: How to login to internal network through jmeter
 
   To allow the test plan to authenticate with each request, you need to
  add
  an HTTP Header Manager configuration element to the Thread Group. In
 it
  you
  add one field named Authorization.
 
  The only thing left is to set the header value, which can be obtained
 by
  looking at the requests of a browser. In
  Firefoxhttp://www.mozilla.com/en-US

Re: Need help regarding Unicode extraction while passing variable captured.

2012-08-23 Thread Niraj
Here is solution:

Method Name :

encodeURIComponent



Implementation:

${__javaScript(myOutput=encodeURIComponent('${extractedvalue}');,myOutput)}



Replace the Parameter value with the above code where we want to use the
value.


extractedvalue : Value which reg will gives you.

Let me know if it works.

- Niraj


On Thu, Aug 23, 2012 at 7:28 PM, sharmila Renganathan sharmila...@gmail.com
 wrote:

 Hi,

  Even i am facing the same problem.
 In the response data,i have a value 'net+work'.I am using regular
 expression extractot and getting the value in the variable var1.
 When i use this variable in my next request, it is getting replaced as
 'net%2Bwork' .
 When i analzed, %2B is the ascii value for the '+'. (refer:
 http://web.cs.dal.ca/~jamie/cs4173/examples/XHTML/entities/ASCII.html )
 Similarly '/' is replaced as '%2F' and '=' as %3D.
 I used bean shell sampler to replace '%2B' with + and i put the new value
 in a variable var_new.
 When i used this var_new as input to another request, Its again replacing
 with '%2B'
 Its a show stopper issue for me to proceed further.
 Can any one please come with a solution for this.

 Regards,
 Sharmila R

 On Thu, Aug 23, 2012 at 9:29 AM, Adrian Speteanu asp.ad...@gmail.com
 wrote:

  Hi,
 
  JMeter does not support it, but java has methods:
 
 
 http://stackoverflow.com/questions/2126378/java-convert-string-u-into-char
  (I didn't have time to get into details, but I'm sure you'll find the
 best
  way, the above is just an example)
 
 
  So, back to your problem, use a beanshell pre-processor to deal with the
  conversion.
 
  --Adrian S
 
  On Thu, Aug 23, 2012 at 4:09 PM, Sambhav Rathore 
  sambhav_rath...@infosys.com wrote:
 
   Hi All,
   For testing purpose, we are required to capture a variable from server
   side, which we are capturing using Post Processor Regular Expression
   Extractor. It is in the format abcde123838fgh#x2a;z5bB7Wg. The part
   #x2a; is the Unicode for * sign. I need to convert this part of
  captured
   variable into * for all occurences. I cannot find a method to do that
 as
   Jmeter does not support Unicode. Kindly help if anyone knows how to
  handle
   this problem.
  
   Thanks In Advance,
   Sambhav
  
  
    CAUTION - Disclaimer *
   This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
   solely
   for the use of the addressee(s). If you are not the intended recipient,
   please
   notify the sender by e-mail and delete the original message. Further,
 you
   are not
   to copy, disclose, or distribute this e-mail or its contents to any
 other
   person and
   any such actions are unlawful. This e-mail may contain viruses. Infosys
   has taken
   every reasonable precaution to minimize this risk, but is not liable
 for
   any damage
   you may sustain as a result of any virus in this e-mail. You should
 carry
   out your
   own virus checks before opening the e-mail or attachment. Infosys
  reserves
   the
   right to monitor and review the content of all messages sent to or from
   this e-mail
   address. Messages sent to or from this e-mail address may be stored on
  the
   Infosys e-mail system.
   ***INFOSYS End of Disclaimer INFOSYS***
  
   -
   To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
   For additional commands, e-mail: user-h...@jmeter.apache.org
  
  
 



Re: Need help: Very urgent : When a variable is send to a request as input parameter, + is replaced with %2B, '/' is replaced as '%2F' and '=' as %3D

2012-08-23 Thread Niraj
Second solution will be

Reg will return: ${extarctedvalue}

You'll have to Uncheck Encode column of the row where ${extarctedvalue}
is used

- Niraj

On Thu, Aug 23, 2012 at 8:10 PM, sharmila Renganathan sharmila...@gmail.com
 wrote:

 Hi,

 In a response data,i have a value 'net+work'.I am using regular expression
 extractor and getting the value in the variable var1.
 When i use this variable in my next request, it is getting replaced as
 'net%2Bwork' .
 When i analzed, %2B is the ascii value for the '+'. (refer:
 http://web.cs.dal.ca/~jamie/cs4173/examples/XHTML/entities/ASCII.html )
 Similarly '/' is replaced as '%2F' and '=' as %3D.
 So my request is getting failed. I dont get the proper response.
 I used bean shell sampler to replace '%2B' with + and i put the new value
 in a variable var_new.
 When i used this var_new as input to another request, Its again replacing
 with '%2B'
 Its a show stopper issue for me to proceed further.
 Can any one please come with a solution for this.

 Regards,
 Sharmila R



Re: How to login to internal network through jmeter

2012-08-22 Thread Niraj
Is it HTTP authentication?

On Thu, Aug 23, 2012 at 11:11 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 What are the steps to follow in order to login to internal network (not
 proxy server) through jmeter.

 Thanks.

 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***




Re: How to login to internal network through jmeter

2012-08-22 Thread Niraj
 To allow the test plan to authenticate with each request, you need to add
an HTTP Header Manager configuration element to the Thread Group. In it you
add one field named Authorization.

The only thing left is to set the header value, which can be obtained by
looking at the requests of a browser. In
Firefoxhttp://www.mozilla.com/en-US/firefox/personal.html this
can be done with the Live HTTP Headers
Add-onhttps://addons.mozilla.org/en-US/firefox/addon/3829
.


Just download that Add-on and manually access the site keep add-on open.
You will get the Authentication value. Just add the same in
front of Authorization  field in HTTP Header manager config element.

On Thu, Aug 23, 2012 at 11:19 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 yes

 -Original Message-
 From: Niraj [mailto:niraj.khatm...@gmail.com]
 Sent: Thursday, August 23, 2012 11:16 AM
 To: JMeter Users List
 Subject: Re: How to login to internal network through jmeter

 Is it HTTP authentication?

 On Thu, Aug 23, 2012 at 11:11 AM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  What are the steps to follow in order to login to internal network
 (not
  proxy server) through jmeter.
 
  Thanks.
 
 
 ***
  Disclaimer
 
  The information contained in this communication is confidential and
 may be
  legally privileged.
  It is intended solely for the use of the individual or entity to whom
 it
  is addressed and others authorised to receive it.
  If you are not the intended recipient you are hereby notified that any
  disclosure, copying,
  distribution or taking action in reliance of the contents of this
  information is strictly prohibited and may be unlawful.
  KPMG is neither liable for the proper,
  complete transmission of the information contained in this
 communication
  nor any delay in its receipt.
 
 ***
 
 
 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Getting error message when doing performance testing

2012-08-21 Thread Niraj
Ex: if your server ip address is 10.0.0.1 and host name is www.test.com

then add  10.0.0.1www.test.com  in your host file.

On Wed, Aug 22, 2012 at 10:42 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 Appreciate if you can tell what are the steps to follow.

 -Original Message-
 From: crackdu...@gmail.com [mailto:crackdu...@gmail.com]
 Sent: Wednesday, August 22, 2012 10:37 AM
 To: JMeter Users List
 Subject: Re: Getting error message when doing performance testing

 May be you need set your hosts file. Put your IP into the file and your
 host name too.


 Greetings
 --Mensaje original--
 De: brajesh patel
 Para: JMeter Users List
 Responder a: JMeter Users List
 Asunto: Getting error message when doing performance testing
 Enviado: 21 de ago, 2012 11:58 PM

 Hello All,

 I am getting following error when running script using jmeter:

  jmeter.engine.StandardJMeterEngine: Test has ended on host null

 Please provide me light on this error so I will resolve this.


 --
 
 Thanks and Regards
 Brajesh Patel
 Mobile: 918750709907



 Enviado a través de BlackBerry de movistar
 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org
 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Configuration to get Transaction and Request level information without duplication

2012-08-20 Thread Niraj
Hi Anatarajan,

If i understood your question correctly, then in Summary report you need
information only at transaction controller level and View result Tree
complete request information.

For ex: When you hit say login page, main login request say login.aspx and
other depended request for the login page going to combine under
transaction controller Login. When you add  transaction controller , by
default in transaction controller property, Include duration of timer and
pre-post processor in genrated sample option is selected. So in summary
report you will get the all the request information which will be heavy.
But if you select Generate parent Sample check box and de-select the
other one, you will get the only Login transaction controller information
in summary report. Which will be combine of Login request
and depended request also.

I hope this is well you.

Thanks,
Niraj

On Tue, Aug 21, 2012 at 10:34 AM, Anandkumar Natarajan 
anatara...@jamcracker.com wrote:

 Hi,

 Please suggest how to configure Jmeter to display information from
 Transaction Controller at Summary Report Listener and at the same time
 display complete request level information at other listeners like View
 Results Tree.

 When Requests are grouped under Simple Controller, request level
 information is displayed at all listeners. This is too much of information
 for some of the reports that has to be shared with management hence grouped
 requests under Transaction Controller which solved the need. But this
 removed much needed information from other reports which are required to
 trouble shoot the bottleneck.

 We could have two sets of scripts, one for management and other for
 engineering but execution and maintenance overheads creep_up and some
 intermediate issues are getting missed.

 Looking forward to your suggestions, thank you in advance.

 Regards,
 AK



Re: Help required through Jmeter

2012-08-08 Thread Niraj
Hey Rajeev,

I faced similar kind of issue

This what i was getting in request1 response  negwZpYrTeF87bx%2F
pCgyzpctt1%2Bb68Rup%2FAkJA%3DMk

This what i need to pass in my next request: negwZpYrTeF87bx/
pCgyzpctt1+b68Rup/A=kJAMk

Past this function in second request where that value is used.
${__javaScript(myOutput=encodeURIComponent('${URL}');,myOutput)}

Let me know if it works.

Thanks,
Niraj


On Wed, Aug 8, 2012 at 11:10 AM, Rajeev Ranjan16 
rajeev_ranja...@infosys.com wrote:

 Hi,



 We are working on a project that requires us to extract encoded URLs to be
 passed on as a parameter to the next request.



 Can somebody advice what is the best way to deal with this? We tried
 extracting dynamic data but the data is encoded. How do we decode this
 properly and pass it on to the next request?



 Decoder and encoder of URLs available in Google didn't helped us.



 Any solutions available through Jmeter which can help us.



 Any solutions or suggestions appreciated.



 Regards,

 Rajeev


  CAUTION - Disclaimer *
 This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
 solely
 for the use of the addressee(s). If you are not the intended recipient,
 please
 notify the sender by e-mail and delete the original message. Further, you
 are not
 to copy, disclose, or distribute this e-mail or its contents to any other
 person and
 any such actions are unlawful. This e-mail may contain viruses. Infosys
 has taken
 every reasonable precaution to minimize this risk, but is not liable for
 any damage
 you may sustain as a result of any virus in this e-mail. You should carry
 out your
 own virus checks before opening the e-mail or attachment. Infosys reserves
 the
 right to monitor and review the content of all messages sent to or from
 this e-mail
 address. Messages sent to or from this e-mail address may be stored on the
 Infosys e-mail system.
 ***INFOSYS End of Disclaimer INFOSYS***



Re: How to handle WebSocket event in Jmeter

2012-08-07 Thread Niraj
Hi Shamuel,

I am not sure how web socket implemented at your end, but at our end Web
socket request is WS protocol not HTTP.

Also when we send a web socket request there is one event triggered at
client end which is again did not catch by Jmeter proxy.

So till now we just got the build without web socket. I am not sure if
Jmeter currently supports WS requests.

Thanks,
Niraj

On Tue, Aug 7, 2012 at 8:21 PM, Shmuel Krakower shmul...@gmail.com wrote:

 Hi Niraj,
 Did you solve this somehow? Please share.

 Best,
 Shmuel.


 On Thu, Jul 12, 2012 at 2:37 PM, Niraj niraj.khatm...@gmail.com wrote:

  Yes it goes throw proxy. Because it also operates on 8080 port.
 
  On Thu, Jul 12, 2012 at 4:46 PM, Shmuel Krakower shmul...@gmail.com
  wrote:
 
   I haven't done this, but are you sure it goes through the proxy?
   (i.e. stop the proxy server and notice that the event is now failing -
 if
   it won't it doesn't go through the proxy)
  
   Shmuel.
  
  
   On Thu, Jul 12, 2012 at 12:05 PM, Niraj niraj.khatm...@gmail.com
  wrote:
  
Hello All,
   
Did anyone tried to work on script which has also Web Socket request?
   
I am not able to record and run the event which is getting fired at
   client
end while adding Annotation which uses WebSocket.
   
Please let me know if there is a way to handle the web socket in
  Jmeter.
   
Thanks,
Niraj
   
  
 



Re: Error while running Jmeter script

2012-07-13 Thread Niraj
Hello Sebbaz,

I am running test for single user and i am not able anything in error log
of server.

Frequency is any one random request per on load test run. If i ran load
test for 5 users, one random request for per users fail with the mentioned
error.

Thanks,
Niraj

On Fri, Jul 13, 2012 at 2:35 PM, sebb seb...@gmail.com wrote:

 On 11 July 2012 12:03, Niraj niraj.khatm...@gmail.com wrote:
  Hello All,
 
  I am running a Jmeter script in version 2.6. After running script in
 result
  tree i am getting below mentioned error. But this error is not coming to
  any specific request. I am getting this error for any random request. If
 i
  ran test 1st time i am getting error for one png request. In next run
 same
  png request passed successfully and error is seen for some different
  request.
 
  Can someone please help me to resolve this issue?
 
  java.net.SocketException: Connection reset at
  java.net.SocketInputStream.read(SocketInputStream.java:168) at
  java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at
  java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at
  java.io.BufferedInputStream.read(BufferedInputStream.java:317) at
  sun.net.www.MeteredStream.read(MeteredStream.java:116) at

 This is almost certainly caused by the server dropping the connection,
 most likely because it is overloaded.

 Check the server logs to see if there is any relevant information.

 Does the frequency of the errors vary with the total load on the server?

 If it's not the server, then it must be some other part of the route
 between JMeter and the server, e.g. router/gateway.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




How to handle WebSocket event in Jmeter

2012-07-12 Thread Niraj
Hello All,

Did anyone tried to work on script which has also Web Socket request?

I am not able to record and run the event which is getting fired at client
end while adding Annotation which uses WebSocket.

Please let me know if there is a way to handle the web socket in Jmeter.

Thanks,
Niraj


Re: Error while running Jmeter script

2012-07-12 Thread niraj
Still i am facing issue. I can ping the server without any issue. 

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Error-while-running-Jmeter-script-tp5713976p5714009.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: Error while running Jmeter script

2012-07-11 Thread Niraj
Nope. Is it because of Ping server or it's a Jmeter issue?

On Wed, Jul 11, 2012 at 7:59 PM, ZK stevesenio...@gmail.com wrote:

 Do you have a load balancer?


 ZK

 --
 View this message in context:
 http://jmeter.512774.n5.nabble.com/Error-while-running-Jmeter-script-tp5713976p5713980.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Problem with HTTPS recording

2012-07-08 Thread niraj
Hey it works. It was issue with Ping server with Proxy enabled.

On Wed, Jul 4, 2012 at 4:36 PM, Flavio Cysne [via JMeter] 
ml-node+s512774n571384...@n5.nabble.com wrote:

 Have you set up JMeter Proxy to use HC3.1 instead of Java HTTP
 implementation?

 If you are using JMeter 2.7 you can use HC4 too.

 2012/7/4 niraj [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5713843i=0


  Yes i did. But when my application reaches to Ping...it returns me blank
  page. Without proxy i am getting proper page.
 
  --
  View this message in context:
 
 http://jmeter.512774.n5.nabble.com/Problem-with-HTTPS-recording-tp5713794p5713829.html
  Sent from the JMeter - User mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=5713843i=1
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=5713843i=2
 
 


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://jmeter.512774.n5.nabble.com/Problem-with-HTTPS-recording-tp5713794p5713843.html
  To unsubscribe from Problem with HTTPS recording, click 
 herehttp://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=5713794code=bmlyYWoua2hhdG1vZGVAZ21haWwuY29tfDU3MTM3OTR8LTQyMTgxMDM5MA==
 .
 NAMLhttp://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Problem-with-HTTPS-recording-tp5713794p5713946.html
Sent from the JMeter - User mailing list archive at Nabble.com.

Re: Regular expression extraction

2012-07-06 Thread Niraj
Hi  Flávio,

Thanks for the response. I will explain you in detail.

My Response URL1:

https://test/sp/ACS.saml2
RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7YSAMLart=AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8
zbaK6zuRrOnIEFelyfyHAWRBAMk%3D


Now i need to extract zbaK6zuRrOnIEFelyfyHAWRBAM which i am going to use in
next request.


I have used regular expression: SAMLart=\w+%2B\w{12}(.*)%3D which gives me
zbaK6zuRrOnIE2FelyfyHAWRBAM


But when my response URL is

Response URL2:
https://test/sp/ACS.saml2 RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7YSAMLart=
AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF87bx%2FpCgyzpctt12b68RupAkJAMk%

Using same regular expression: SAMLart=\w+%2B\w{12}(.*)%3D i get this
7bx%2FpCgyzpctt12b68RupAkJAMk.
Now i need to use 7bx2FpCgyzpctt12b68RupAkJAMk use in next requests. So my
issue how i can remove %2.

Please let me know if i need add any more details.


On Fri, Jul 6, 2012 at 4:58 PM, Flavio Cysne flaviocy...@gmail.com wrote:

 First things first, %2F, %3D, %2B are hexadecimal ascii representations of
 special characters like /, :, , %, etc.

 If you want to avoid these representations you can use the regex bellow.

 \?RelayState=\w+SAMLart=\w+%2B(\w+)%[a-zA-Z0-9]{2}(\w+)%[a-zA-Z0-9]{2}

 You have to repeat this regex in two Regular Expression Extractors: one to
 retrieve $1$ (the first group) and the other for $2$ (the second group).
 I'm assuming that these values will be used as parameters values in other
 requests and you'll need the entire values extracted among %2B, %2F and
 %3D.

 If could explain a bit more of what you want to do, it'll be easier to
 answer.

 I'm using Regular Expression Tester firefox plugin to test these Regular
 expressions and see what their groups catch.

 Hope it helps you.
 Flávio Cysne

 2012/7/6 Niraj niraj.khatm...@gmail.com

  Someone please let me know how i can avoid %2 which i am getting in
  response using  \?RelayState=\w+SAMLart=\w+%2B\w{12}(.+)%3D  this Reg ex
 
  On Fri, Jul 6, 2012 at 12:57 PM, Niraj niraj.khatm...@gmail.com wrote:
 
   Thanks a lot.
  
   But now i have a problem.
  
   When my response is this
   : AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8k7BSD4vMpNvg4KGEE7bUkwpUAMo%3D
   Extracted value: k7BSD4vMpNvg4KGEE7bUkwpUAM
   This works every time
  
   But when my response is this
   :AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF87bx%2FpCgyzpctt12b68RupAkJAMk%3D
   I get extracted value from regular expression is
   :7bx%2FpCgyzpctt12b68RupAkJAMk
  
   %2 which i am getting in extracted response is not required. So how i
   can avoid that using same regular expression which will work both
   the responses.
  
  
   On Thu, Jul 5, 2012 at 9:36 PM, Flavio Cysne flaviocy...@gmail.com
  wrote:
  
   Use this instead of my previous suggestion
  
   \?RelayState=\w+SAMLart=\w+%2B\w{12}(.+)%3D
  
   previous one was using %2 when the correct is %2B
  
   2012/7/5 Flavio Cysne flaviocy...@gmail.com
  
\?RelayState=\w+SAMLart=\w+%2\w{13}(.+)%3D
   
   
2012/7/5 Niraj niraj.khatm...@gmail.com
   
One more help please
   
   
   
  
 
 https://abcdtest/sp/ACS.saml2?RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7YSAMLart=AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8
zbaK6zuRrOnIE%2FelyfyHAWRBAMk%3D
  
 
 https://abcdtest/sp/ACS.saml2?RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7YSAMLart=AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8zbaK6zuRrOnIE%2FelyfyHAWRBAMk%3D
   
   
Now i want to extract zbaK6zuRrOnIE%2FelyfyHAWRBAMk
   
Thanks,
Niraj
   
On Thu, Jul 5, 2012 at 5:57 PM, Shay Ginsbourg 
 sginsbo...@gmail.com
  
wrote:
   
 GREAT!




 On Thu, Jul 5, 2012 at 3:09 PM, Niraj niraj.khatm...@gmail.com
   wrote:

  Hey Shay,
 
  It works. thanks a a lot.
 
  Thanks,
  Niraj
 
  On Thu, Jul 5, 2012 at 5:19 PM, Shay Ginsbourg 
   sginsbo...@gmail.com
  wrote:
 
   resumePath.+?%2F.+?%2F(.+)%2F.+?%2F.+?%2F.+?ping
  
  
  
  
  
   On Thu, Jul 5, 2012 at 2:38 PM, Niraj 
  niraj.khatm...@gmail.com
 wrote:
  
Hello All,
   
   
   
  
 

   
  
 
 https://abcd.test.com/autho/fed/external/idpredirect.html?resumePath=%2Fidp%2FQ3kZL%2FresumeSAML20%2Fidp%2FSSO.ping
   
I want to extract Q3kZL from the above request. Can someone
   please
 give
   me
regular expression which i can use in Jmteter.
   
Thanks,
Niraj
   
  
  
  
   --
  
Regards,
  
  
   Shay Ginsbourg
  
   Regulatory  Testing Affairs Consultant
  
  
   WWW.GINSBOURG.COM
  
  
   Providing Regulatory, Medical  Performance Testing services
   since
 2008:
  
  
   * IEC 62304 Medical Device Software Life Cycle
  
   * IEEE 829 Software Test Documentation
  
   * ISO 14971 Medical Device Risk Management
  
   * FDA 21 CFR Part 11 Software Validation
  
   * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment

Issue with the extracting Value

2012-07-05 Thread Niraj
Hello All,

I have a application where it uses Ping Server for authentication.

My Authentication request goes to Ping Server for authentication where i
have selected Follow redirects. In response i can see under my main
request it travel to 4 sub-request.

Now After that Authentication request there is one more request which uses
SAML cookie. That SAML cookie i can see in query string in one of the
redirect request from authentication request.

Now i want to know how i can extract that value from the query string
of redirect request. Because adding regular expression for the
Main authentication request won't work.

Here is my test looks like

Thread Group
 - Login page
 - Authentication request
 - Request which uses SAML cookie.

Here is my View result tree looks like

Login Page
Authentication request
 - 1st request
 - 2nd request  (Where i can see SAML cookie in query string)
 - 3rd
 - 4th
 Request which uses SAML cookie.

Please let me know i need to add any details.

Thanks,
Niraj


Regular expression extraction

2012-07-05 Thread Niraj
Hello All,

https://abcd.test.com/autho/fed/external/idpredirect.html?resumePath=%2Fidp%2FQ3kZL%2FresumeSAML20%2Fidp%2FSSO.ping

I want to extract Q3kZL from the above request. Can someone please give me
regular expression which i can use in Jmteter.

Thanks,
Niraj


Re: Regular expression extraction

2012-07-05 Thread Niraj
Hey Shay,

It works. thanks a a lot.

Thanks,
Niraj

On Thu, Jul 5, 2012 at 5:19 PM, Shay Ginsbourg sginsbo...@gmail.com wrote:

 resumePath.+?%2F.+?%2F(.+)%2F.+?%2F.+?%2F.+?ping





 On Thu, Jul 5, 2012 at 2:38 PM, Niraj niraj.khatm...@gmail.com wrote:

  Hello All,
 
 
 
 https://abcd.test.com/autho/fed/external/idpredirect.html?resumePath=%2Fidp%2FQ3kZL%2FresumeSAML20%2Fidp%2FSSO.ping
 
  I want to extract Q3kZL from the above request. Can someone please give
 me
  regular expression which i can use in Jmteter.
 
  Thanks,
  Niraj
 



 --

  Regards,


 Shay Ginsbourg

 Regulatory  Testing Affairs Consultant


 WWW.GINSBOURG.COM


 Providing Regulatory, Medical  Performance Testing services since 2008:


 * IEC 62304 Medical Device Software Life Cycle

 * IEEE 829 Software Test Documentation

 * ISO 14971 Medical Device Risk Management

 * FDA 21 CFR Part 11 Software Validation

 * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment

 * End-to-end verification, validation, and testing (VVT)

 * FDA and CE submissions

 * Open source free testing tools implementation

 * Functionality and regression testing

 * Software Performance  Load testing

 * Software Testing Advanced Automation

 * Medical Software Verification  Validation

 * Medical Device Verification  Validation

 * Medical Device Regulatory Submission

 * Organizational Regulatory Qualification


 Formerly QA Manager of LoadRunner at Mercury Interactive


 M.Sc. cum laude in Bio-Medical Engineering

 M.Sc. in Mechanical Engineering


 Work:   +972(0)3-5185873

 Mobile:  +972(0)54-6690915


 Email: sginsbo...@gmail.com


 Visit my personal page on LinkedIn at:
 http://www.linkedin.com/in/shayginsbourg


 Please consider your environmental responsibility before printing this
 e-mail.



Re: Regular expression extraction

2012-07-05 Thread Niraj
One more help please

https://abcdtest/sp/ACS.saml2?RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7YSAMLart=AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8
zbaK6zuRrOnIE%2FelyfyHAWRBAMk%3D

Now i want to extract zbaK6zuRrOnIE%2FelyfyHAWRBAMk

Thanks,
Niraj

On Thu, Jul 5, 2012 at 5:57 PM, Shay Ginsbourg sginsbo...@gmail.com wrote:

 GREAT!




 On Thu, Jul 5, 2012 at 3:09 PM, Niraj niraj.khatm...@gmail.com wrote:

  Hey Shay,
 
  It works. thanks a a lot.
 
  Thanks,
  Niraj
 
  On Thu, Jul 5, 2012 at 5:19 PM, Shay Ginsbourg sginsbo...@gmail.com
  wrote:
 
   resumePath.+?%2F.+?%2F(.+)%2F.+?%2F.+?%2F.+?ping
  
  
  
  
  
   On Thu, Jul 5, 2012 at 2:38 PM, Niraj niraj.khatm...@gmail.com
 wrote:
  
Hello All,
   
   
   
  
 
 https://abcd.test.com/autho/fed/external/idpredirect.html?resumePath=%2Fidp%2FQ3kZL%2FresumeSAML20%2Fidp%2FSSO.ping
   
I want to extract Q3kZL from the above request. Can someone please
 give
   me
regular expression which i can use in Jmteter.
   
Thanks,
Niraj
   
  
  
  
   --
  
Regards,
  
  
   Shay Ginsbourg
  
   Regulatory  Testing Affairs Consultant
  
  
   WWW.GINSBOURG.COM
  
  
   Providing Regulatory, Medical  Performance Testing services since
 2008:
  
  
   * IEC 62304 Medical Device Software Life Cycle
  
   * IEEE 829 Software Test Documentation
  
   * ISO 14971 Medical Device Risk Management
  
   * FDA 21 CFR Part 11 Software Validation
  
   * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment
  
   * End-to-end verification, validation, and testing (VVT)
  
   * FDA and CE submissions
  
   * Open source free testing tools implementation
  
   * Functionality and regression testing
  
   * Software Performance  Load testing
  
   * Software Testing Advanced Automation
  
   * Medical Software Verification  Validation
  
   * Medical Device Verification  Validation
  
   * Medical Device Regulatory Submission
  
   * Organizational Regulatory Qualification
  
  
   Formerly QA Manager of LoadRunner at Mercury Interactive
  
  
   M.Sc. cum laude in Bio-Medical Engineering
  
   M.Sc. in Mechanical Engineering
  
  
   Work:   +972(0)3-5185873
  
   Mobile:  +972(0)54-6690915
  
  
   Email: sginsbo...@gmail.com
  
  
   Visit my personal page on LinkedIn at:
   http://www.linkedin.com/in/shayginsbourg
  
  
   Please consider your environmental responsibility before printing this
   e-mail.
  
 



 --

  Regards,


 Shay Ginsbourg

 Regulatory  Testing Affairs Consultant


 WWW.GINSBOURG.COM


 Providing Regulatory, Medical  Performance Testing services since 2008:


 * IEC 62304 Medical Device Software Life Cycle

 * IEEE 829 Software Test Documentation

 * ISO 14971 Medical Device Risk Management

 * FDA 21 CFR Part 11 Software Validation

 * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment

 * End-to-end verification, validation, and testing (VVT)

 * FDA and CE submissions

 * Open source free testing tools implementation

 * Functionality and regression testing

 * Software Performance  Load testing

 * Software Testing Advanced Automation

 * Medical Software Verification  Validation

 * Medical Device Verification  Validation

 * Medical Device Regulatory Submission

 * Organizational Regulatory Qualification


 Formerly QA Manager of LoadRunner at Mercury Interactive


 M.Sc. cum laude in Bio-Medical Engineering

 M.Sc. in Mechanical Engineering


 Work:   +972(0)3-5185873

 Mobile:  +972(0)54-6690915


 Email: sginsbo...@gmail.com


 Visit my personal page on LinkedIn at:
 http://www.linkedin.com/in/shayginsbourg


 Please consider your environmental responsibility before printing this
 e-mail.



Problem with HTTPS recording

2012-07-03 Thread Niraj
Hello All,

I am facing issue while recording a script using Jmeter proxy.

Site is HTTPS and it uses Pingfederate for authentications. When i hit the
URL and click on login. Application redirects to the HTTPS site. On normal
browser i can see the Login page but using Jmeter proxy i am getting a
blank page (no contents on page).

Can someone please help me how i record the script?

Thanks,
Niraj


Re: Problem with HTTPS recording

2012-07-03 Thread niraj
Yes i did. But when my application reaches to Ping...it returns me blank
page. Without proxy i am getting proper page. 

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Problem-with-HTTPS-recording-tp5713794p5713829.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Problem with HTTPS recording

2012-07-02 Thread Niraj
Hello All,

I am facing issue while recording a script using Jmeter proxy.

Site is HTTPS and it uses Pingfederate for authentications. When i hit the
URL and click on login. Application redirects to the HTTPS site. On normal
browser i can see the Login page but using Jmeter proxy i am getting a
blank page (no contents on page).

Can someone please help me how i record the script?

Thanks,
Niraj


Re: Error in Jmeter 207

2012-06-20 Thread Niraj
Thanks for the reply.

This is how my test looks like.

Test Plan
 - Stepping Thread Group
   - HTTP Cookie Manager
   - HTTP Header manager
   - CSV Data Set Config.
  -  Transaction controller (Home Page)
  -  Transaction controller (Login Request)
  -  Transaction controller (Logout)
  - Summary Report

Please let me know if any another information needs to be shared.

Thanks,
Niraj



On Wed, Jun 20, 2012 at 3:43 PM, sebb seb...@gmail.com wrote:

 On 20 June 2012 08:04, Niraj niraj.khatm...@gmail.com wrote:
  Hello All,
 
  I am getting below mentioned error in Jmeter version 2.7 when i run the
  test. Can someone please help me how i can resolve this?

 Whatever the Java sampler is talking to is returning EOF.

 Either the Java sampler is not set up correctly, or the server is broken.

 Not a lot more can be said from the information provided.

  2012/06/20 11:19:12 INFO  - jmeter.engine.StandardJMeterEngine: Running
 the
  test!
  2012/06/20 11:19:12 INFO  - jmeter.gui.util.JMeterMenuBar:
  setRunning(true,*local*)
  2012/06/20 11:19:12 INFO  - jmeter.engine.StandardJMeterEngine: Starting
 10
  threads for group jp@gc - Stepping Thread Group.
  2012/06/20 11:19:12 INFO  - jmeter.engine.StandardJMeterEngine: Thread
 will
  continue on error
  2012/06/20 11:19:12 INFO  - jmeter.engine.StandardJMeterEngine: All
 threads
  have been started
  2012/06/20 11:19:13 INFO  - jmeter.threads.JMeterThread: Thread started:
  jp@gc - Stepping Thread Group 1-1
  2012/06/20 11:19:13 WARN  - jmeter.config.CSVDataSet: Empty delimiter
  converted to ','
  2012/06/20 11:19:13 INFO  - jmeter.services.FileServer: Stored: test.csv
  2012/06/20 11:19:14 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:14 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:16 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:16 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:16 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:16 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:16 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:16 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:20 INFO  - jmeter.threads.JMeterThread: Thread started:
  jp@gc - Stepping Thread Group 1-2
  2012/06/20 11:19:20 WARN  - jmeter.config.CSVDataSet: Empty delimiter
  converted to ','
  2012/06/20 11:19:20 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:20 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:23 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:23 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:23 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:23 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpage
  2012/06/20 11:19:23 ERROR - jmeter.protocol.http.sampler.HTTPJavaImpl:
  readResponse: java.io.EOFException
  2012/06/20 11:19:23 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl:
  Error Response Code: 302, Server sent no Errorpag
 
  Thanks,
  Niraj

 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Updatiung CSV Parameters in Each reauest in Iteration

2012-06-12 Thread Niraj
Add CSV Data Set Config below thread group. Provide the CSV file
name\path (if not placed in Bin folder) in filename.

Now for ex if you want new user name for each iteration, then add Users in
CSV. Add variable names in  CSV Data Set Config element say Username.
Then in all your requests replace user name with ${Username}. You are good
to go.

On Tue, Jun 12, 2012 at 5:57 PM, hans jung junghansm...@googlemail.comwrote:

 Hi There,

 I have a thread group with several requests in it. All request have the
 same parameter in them.
 I also have a csv file with values for that parameter.

 How can I link my jmeter project to the csv file, so that each request
 sends a new value from the file?
 I tried the csv dataset config(by putting under each request), but that one
 seems to send the same parameter value with all requests per thread
 iteration.

 This is not enough. I need a fresh value read from the csv file with every
 single request.
 How can I accomplish this?

 Is it possibel, to make jmeter pick a random line from that csv file?


 Regards, thanks in advance.



Re: Tool?

2012-05-16 Thread Niraj
For Java I am using VisualVM and it's amazing tool. Very lightweight tool.

On Wed, May 16, 2012 at 2:37 PM, Jain, Kapil kapil.j...@logica.com wrote:

 Hi There,

 I am looking free tool to analyse app server and webserver? This tool
 should convert the log to readable format?

 Can any one suggest some thing on this please?

 Regards
 KJ

 Think green - keep it on the screen.

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender. Thank you.



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Tool?

2012-05-16 Thread Niraj
It's for linux. For windows it is Perfmon.

On Wed, May 16, 2012 at 4:32 PM, Jain, Kapil kapil.j...@logica.com wrote:

 Mark , is it for Windows Machine?

 -Original Message-
 From: Mark Collin [mailto:mark.col...@lazeryattack.com]
 Sent: 16 May 2012 11:55
 To: 'JMeter Users List'
 Subject: RE: Tool?

 Sar?

 (type man sar in your terminal)

 -Original Message-
 From: Jain, Kapil [mailto:kapil.j...@logica.com]
 Sent: 16 May 2012 11:01
 To: JMeter Users List
 Subject: RE: Tool?

 Any more suggestion on this please?

 -Original Message-
 From: Niraj [mailto:niraj.khatm...@gmail.com]
 Sent: 16 May 2012 10:11
 To: JMeter Users List
 Subject: Re: Tool?

 For Java I am using VisualVM and it's amazing tool. Very lightweight tool.

 On Wed, May 16, 2012 at 2:37 PM, Jain, Kapil kapil.j...@logica.com
 wrote:

  Hi There,
 
  I am looking free tool to analyse app server and webserver? This tool
  should convert the log to readable format?
 
  Can any one suggest some thing on this please?
 
  Regards
  KJ
 
  Think green - keep it on the screen.
 
  This e-mail and any attachment is for authorised use by the intended
  recipient(s) only. It may contain proprietary material, confidential
  information and/or be subject to legal privilege. It should not be
  copied, disclosed to, retained or used by, any other party. If you are
  not an intended recipient then please promptly delete this e-mail and
  any attachment and all copies and inform the sender. Thank you.
 
 
 
  -
  To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
  For additional commands, e-mail: user-h...@jmeter.apache.org
 
 

 Think green - keep it on the screen.

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender. Thank you.



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org



 Think green - keep it on the screen.

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender. Thank you.



 -
 To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
 For additional commands, e-mail: user-h...@jmeter.apache.org




Re: Generate Concurrent user load

2012-04-19 Thread niraj
synchronized and concurrency are same. Users will have active sessions and
doing exact same thing at a given point of time. 

Simultaneous: Users have active sessions, but performing different actions
at given point of time. 

If my understanding is wrong then please do correct me.  

 

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Generate-Concurrent-user-load-tp5646401p5653351.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Generate Concurrent user load

2012-04-17 Thread niraj
Hello All, 

I am to trying to achieve concurrency in following scenario. Can someone
please help me how i can do that with using Jmeter?

I have script where Users logs in and click on search page. Then user will
enter search string (word) in the field and click on search button. 

Now i want all 5 users to hit search button at the same time. For that i
have added Synchronization timer as a child element to the search button
request. 

When i schedule test for 10 users, i have mentioned 5 users in Synchronizing
timer. In this case i should get the concurrency of 5 users?  Rest 5 users
search request will be simultaneous request?

Please correct me if i am doing and my understanding is wrong. And if there
is another way to achieve concurrency in Jmeter, please let me know. T

his is how my script looks like:

Thread group
 - Login
 - Search
- Synchronization timer (Child element)
 - Logot

Also for login scenario, If i want to achieve concurrency, Should i add all
the dependent request for Login page in one Transaction controller and
Synchronization timer as child element to the transaction controller? Please
suggest. 

Thanks,
Niraj

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Generate-Concurrent-user-load-tp5646401p5646401.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org