Re: Unable to convert .p12 to JKS file

2021-11-23 Thread Prateek Dua
KeyStore Explorer tool can be used to identify 
the certificate type & convert it to required format ( .jks / PKCS12) for 
JMeter.  Here you can enter the source certificate file and give pwd of your 
choice to convert it directly .jks format.

This shall solve your problem.



Thanks,
Prateek

From: Venkatesh N 
Sent: 24 November 2021 12:15
To: user@jmeter.apache.org 
Subject: Unable to convert .p12 to JKS file


Hello Jmeter expertise,



I need to execute API request from Jmeter, which required the .p12 certificate.



In jmeter using the keytool command need to convert the .p12 file into .jks 
file, but while converting observing error



keytool -importkeystore -srckeystore rnd100_client.p12 -srcstoretype pkcs12 
-destkeystore key.jks -deststoretype jks

Importing keystore rnd100_client.p12 to key.jks...

Enter destination keystore password: xx

Re-enter new password: xxx

Enter source keystore password: xx

keytool error: java.io.IOException: keystore password was incorrect





Which is the keystore password, under the system.property file there is no 
keystore password saved.





Thanks,

Venkatesh. N

[A picture containing object  Description automatically generated]

www.moviuscorp.com



Confidentiality Note: The contents of this e-mail message and any attachments 
are confidential and are intended solely for addressee. The information may 
also be legally privileged. This transmission is sent in trust, for the sole 
purpose of delivery to the intended recipient. If you have received this 
transmission in error, any use, reproduction or dissemination of this 
transmission is strictly prohibited. If you are not the intended recipient, 
please immediately notify the sender by reply e-mail or phone and delete this 
message and its attachments, if any.

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Save POST API data in jtl file

2021-09-08 Thread Prateek Dua
Hi Team,

Is there any way to store payload ( POST data) of POST request in jtl / csv
file on running JMeter via command line prompt. Currently for my case,  jtl
file stores only *URL* of POST request.

Though I'v enabled * jmeter.save.saveservice.samplerData=true* in both
jmeter.properties & user.properties file but POST data is not getting
stored in jtl file.


Thanks,
Prateek


Re: Not able to perform distributed testing

2021-08-02 Thread Prateek Dua
make sure server you're trying to access is open on required port.

Get Outlook for Android


From: Parvathimuthu B (APMEA - iDEAS-AEM) 
Sent: Monday, August 2, 2021 5:43:23 PM
To: user@jmeter.apache.org 
Subject: Not able to perform distributed testing

Hi,

Good day!

I'm using Jmeter 5.4.1, when I try to perform distributed tesing I'm getting 
below error. Any advice?

o.a.j.e.ConvertListeners: RemoteException occurred while replacing Remotable 
item.
java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.io.IOException: Could not bind to /xx.x.xxx.xx using port 0

Thanks in advance,

Regards
Parvathimuthu



Sensitivity: Internal & Restricted

'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'

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Re: Blank HTML report generated

2021-06-15 Thread Prateek Dua
Report gets blank when there some problem with your script  (.jmx file) .  I've 
experienced that too and resolved by fixing the error.

Check your logs pls.

Thanks,
Prateek

From: Deepak Chaudhari 
Sent: 15 June 2021 19:47
To: JMeter Users List 
Subject: Blank HTML report generated

JMeter HTML report has nothing.It's blank.
There is no double quote (") present in sampler or controller name.

[image.png]

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Re: Wrong 90th and 95th percentile values in JMeter HTML report

2021-06-04 Thread Prateek Dua
Hi Deepak,

You need to download from here 
https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ .

JMeter 5.4.1 is the current latest version which I guess don't have the changes 
you're looking for.


Thanks,
Prateek

From: Deepak Chaudhari 
Sent: 04 June 2021 16:15
To: JMeter Users List 
Subject: Re: Wrong 90th and 95th percentile values in JMeter HTML report

Is it implemented or not yet?
I downloaded JMeter 5.4.1 and added property 
"backend_metrics_percentile_estimator = R_3" in user.properties
Still same results.

[image.png]

[image.png]

On Thu, Jun 3, 2021 at 11:43 PM Felix Schumacher 
mailto:felix.schumac...@internetallee.de>> 
wrote:


Am 03.06.21 um 20:10 schrieb Deepak Chaudhari:
Thank you very much for your reply.
Will it be in user.properties?
Do we need to install the latest JMeter version to reflect the changes?

A build from trunk can be found at 
https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/

Yes, the property can be set via user.properties.

Felix

On Thu, Jun 3, 2021 at 11:14 PM Felix Schumacher 
mailto:felix.schumac...@internetallee.de>> 
wrote:

You might find
https://bz.apache.org/bugzilla/show_bug.cgi?id=65353
interesting.

With the next nightly build or build from trunk, you should be able to use the 
new property "backend_metrics_percentile_estimator" with a value of "R_3" to 
lessen the difference between both reports. But keep in mind, that the HTML 
Report use a sliding window, while the Aggregate Report does not (and will 
eventually OOM).

Felix



Am 03.06.21 um 17:46 schrieb Deepak Chaudhari:
I need to send both the reports to the client and surely the question will come 
"Why is there so much difference?"
If there is any way with which we can generate almost similar aggregate and 
HTML reports?

On Thu, Jun 3, 2021 at 9:00 PM Felix Schumacher 
mailto:felix.schumac...@internetallee.de>> 
wrote:

Without the actual data it is impossible to say, if the reports are wrong, or 
if they follow different ways to calculate a percentile.

The problem here is, that the two reports are using different algorithms to 
calculate the percentiles. We are working with discrete numbers and here a 
percentile is more like a range than a single (correct or wrong) number. Say, 
you have the values [1, 2, 4, 8, 16, 32, 64, 128, 256, 512] want to calculate a 
90% percentile. For this you take any number that splits the (sorted) list into 
two lists, where one list has all elements, that are smaller (or equal) to the 
number and one list contains all elements that are bigger than the number. For 
this example, any number between 256 and 511.99 would be a valid 90% 
percentile. (that is of course a broad description only)

The Aggregate report currently uses a memory intensive way and stores a list 
with all values and picks the smallest number, that fits the above description. 
(This memory hogging behaviour should be fixed and would lead to less accurate 
data and less OOMs or slow JMeter instances)

The HTML report gives you a value that would probably be a good 90% percentile, 
if you would have more data like the one, you already have by picking some 
value between the lower bound and the upper bound of the described range (in 
our example something between 256 and 511.999).

As your report has very few samples (21 for the biggest difference in the 
numbers), the skew between the reported percentiles can look big, but are not 
necessarily wrong.

Note, that if the numbers that both reports tell you are far apart, that is 
probably a sign of having either too few samples, or the samples (durations of 
the samples) are distributed sparsely near the  percentile ranges.

We have discussed in the past to use the same algorithm for both components, so 
that you get consistent values, but there were always other issues, that seemed 
to be more important.

Felix

Am 02.06.21 um 15:28 schrieb Deepak Chaudhari:
Hi,

I collected JTL file during a test run and using that I'm generating HTML 
report and aggregate report. When I compare aggregate and HTML reports I found 
that 90th and 95th percentile values are wrong in HTML report.
I tried to change "jmeter.reportgenerator.statistic_window" value in 
user.properties but still getting wrong values.

Aggregate report:
[image.png]

HTML report:
[image.png]

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Re: grpc request error -- JMeter 4.0

2021-04-28 Thread Prateek Dua
Hi Felix,

Please find response to your queries.

How did you add the certificate (note, that it has to include the private
key, too) into your (configured) keystore?

1. I used tool keystore Explorer to convert original client certificate (
abc.crt) to 'mycert.PKCS#12' . Further I converted mycert.PKCS#12' to .jks
as 'JMeterjks.jks' using below cmd
keytool -importkeystore -srckeystore certificate.p12 -srcstoretype PKCS12
-srcstorepass  -keystore 
-storepass 

2. Then I configured below lines of 'system.properties' file to input
JMeterjks.jks details

# Keystore properties (client certificates)
# Location
javax.net.ssl.keyStore=/Users/prateekdua/Downloads/crt/JMeterjks.jks'
#The password to your keystore
javax.net.ssl.keyStorePassword=^@

3. Added user defined variable *'*certi_val' bearing alias 'jmeter_certi'
as value of it under Test plan. And giving the same variable name
'certi_val' into 'Variable name holding certificate alias' of Keystore
config component of JMeter


xCan you list the entries in the keystore and show it to us?

It's basically a public key. Please find the key details.


GO-MAC-PRATEEKDUA:~ prateekdua$ keytool -list -keystore
/Users/prateekdua/Downloads/crt/JMeterjks

Enter keystore password:


Keystore type: JKS

Keystore provider: SUN


Your keystore contains 1 entry


jmeter_certi, 28 Apr, 2021, trustedCertEntry,

Certificate fingerprint (SHA1):
E8:AB:4D:7B:46:98:8E:5E:FD:36:83:C4:A9:D0:83:C3:E1:76:FD:84



Thanks,
Prateek

On Wed, Apr 28, 2021 at 6:57 PM Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
> Am 25.04.21 um 18:27 schrieb Prateek Dua:
>
> Hi Felix,
>
> Thanks for your valuable suggestion. I did same earlier by updating to
> guava.23.0 jar and resolved this error. But now I'm getting new error while
> hitting grpc request -- good thing is that grpc based requests are getting
> created now..
>
> Response code: 500
> Response message: Exception: io.grpc.StatusRuntimeException: UNKNOWN
> Caught exception while waiting for rpc
>
> My request is unable to reach out to server handling grpc request via
> JMeter. I cross-checked it using another application *BloomRPC clien*t
> for validating grpc based requests and it's working fine through it.
>
> Is there any problem related to Client side Certificate ( .crt file needed
> to validate server & request for client) which is not getting correctly
> handled in my case via JMeter.* I did following stuff to
> use certificate using JMeter*
>
> Converted .crt based certificate to .jks and sconfigured in below paths
> with required password..
>
>  *1. system.properties file of JMeter*
>
> # Keystore properties (client certificates)
> # Location
>
> *javax.net.ssl.keyStore=/Users/prateekdua/Downloads/proto_certificate/test.jks*
> #
> #The password to your keystore
> *javax.net.ssl.keyStorePassword=^@*
> #
> #javax.net.ssl.keyStoreProvider
> #javax.net.ssl.keyStoreType [default = KeyStore.getDefaultType()]
>
> 2. Added .jks certificate as *'jssecacerts'* file under
> lib/security/jssecacerts path of installed java.
>
>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/security/jssecacerts
>
> 3. Configured the same *'jssecacerts' *file path too in *s*
> *ystem.properties* file of JMeter for following lines..
>
> # Truststore properties (trusted certificates)
>
> *javax.net.ssl.trustStore=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/security/jssecacerts
> javax.net.ssl.trustStorePassword= *^@
> #javax.net.ssl.trustStoreProvider
> #javax.net.ssl.trustStoreType [default = KeyStore.getDefaultType()]
>
> But still getting above highlighted error in red..
>
> How did you add the certificate (note, that it has to include the private
> key, too) into your (configured) keystore?
>
> Can you list the entries in the keystore and show it to us?
>
> For example, when I use the keystore for RMI that can be generated by a
> shell script in the bin folder, I would use the following command and
> expect some output like
>
> $ keytool -list -keystore bin/rmi_keystore.jks
> Enter keystore password:
> Keystore type: PKCS12
> Keystore provider: SUN
>
> Your keystore contains 1 entry
>
> rmi, Jan 23, 2018, PrivateKeyEntry,
> Certificate fingerprint (SHA1):
> D7:E4:FA:61:8F:52:8D:BA:09:10:D5:4F:F1:21:C6:AA:5C:10:0D:38
>
>
> The alias of the client certifficate (Note the PrivateKeyEntry) is "rmi".
>
> If you want to use the KeyStore Configuration, that value (rmi) has to be
> put into a variable (for example "cert_name") and the string "cert_name"
> would have to placed in the KeyStore Configuration field "Variable name
> holding certificate alias". That configuratio

Handle Proto & grpc requests

2021-03-29 Thread Prateek Dua
Hi Team,

Please help in guiding any way to handle proto & grpc based requests via 
JMeter..


Thanks,
Prateek

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Re: Handling graphql requests with JMeter 4.0

2021-03-09 Thread Prateek Dua
Yes I'm aware of JMeter 5.4 support on it but currently seeking out
solution to handle it via JMeter 4.0 as complete system has been set up
using JMeter 4.0.

So any solution / syntax to handle it manually via plain http request will
be help.

Thanks,
Prateek

On Tue, Mar 9, 2021 at 8:04 PM UBIK LOAD PACK Support <
supp...@ubikloadpack.com> wrote:

> Hello,
> Since JMeter 5.4, there is a GraphQL view in HTTP Request:
>
>-
>
> https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
>look for GraphQL
>
> Before, you'll have to manually handle it.
>
> Regards
>
> On Tue, Mar 9, 2021 at 2:16 PM Prateek Dua  wrote:
>
> > >
> > > Hi Team,
> > >
> > > Any help to send Post request ( query ) for  graphql using JMeter 4.0
> via
> > > HTTP request.
> > >
> > >
> > Thanks,
> > > Prateek
> > >
> >
>
>
> --
>
> Regards
> Ubik Load Pack <http://ubikloadpack.com> Team
> Follow us on Twitter <http://twitter.com/ubikloadpack>
>
>
> Cordialement
> L'équipe Ubik Load Pack <http://ubikloadpack.com>
> Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
>


-- 
Thanks,
Prateek Dua


Handling graphql requests with JMeter 4.0

2021-03-09 Thread Prateek Dua
>
> Hi Team,
>
> Any help to send Post request ( query ) for  graphql using JMeter 4.0 via
> HTTP request.
>
>
Thanks,
> Prateek
>


Handling graphql requests with JMeter 4.0

2021-03-09 Thread Prateek Dua
Hi Team,

Any help to send Post request ( query ) for  graphql using JMeter 4.0 via
HTTP request.  Attached is  query & GRAPHQL variables that needs to be
passed in body data.

Thanks,
Prateek

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

Handling graphql requests with JMeter 4.0

2021-03-09 Thread Prateek Dua
Hi Team,

Any help to send Post request ( query ) for  graphql using JMeter 4.0 via  HTTP 
request.  Attached is  query & GRAPHQL variables that needs to be passed in 
body data.


Thanks,
Prateek

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).

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

JMeter Thank You Note Blog

2020-08-07 Thread Prateek Dua
Hi Everyone,

I've written a blog  on -- how JMeter  helped me out in understanding & 
building my concepts in Load + Performance Testing. And how I implemented it in 
my current & previous Organizations to complete my tasks.

I owe JMeter Engineering & User Community a big thanks and tried to pay bit of 
that in my article.

Please go through it & share your feedback.

https://medium.com/@prateek.dua/my-experience-with-apache-jmeter-from-basic-web-performance-checks-to-high-scalable-load-tests-fa7700121d3b

https://www.linkedin.com/feed/update/urn:li:activity:6695722191163551744/


Thanks,
Prateek

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Re: Jmeter Throughput Calculation Concern - Native Dashboard Report

2020-08-07 Thread Prateek Dua
Thank you guys & I got it .  I have monitored my reports against  test run time 
duration.

So right..its basically getting calculated by no. of requests / total test 
duration time and shown as Request per sec Unit  in Dashboard Report.


Thanks,
Prateek

From: Malith Jayasinghe 
Sent: 30 July 2020 10:26
To: JMeter Users List 
Cc: jmeter-u...@jakarta.apache.org 
Subject: Re: Jmeter Throughput Calculation Concern - Native Dashboard Report

would like to add the following to the previous response:

It seems that there are multiple throughput values in your test indicating
multiple tests. The throughput for each of these tests can be calculated as
follows: number of samples (of the test)/time duration (of the test)

time duration of the test (i.e. total time of the test) is not equal to
numbers requests (i.e. samples) * average response time (hint: requests are
processed in parallel)

Does the report show the time duration? It seems it does not.


On Wed, Jul 29, 2020 at 7:09 PM Sergio Boso 
wrote:

> HI Prateek
>
> in this context, the (total time) is the total time used for whole test,
> from the beginning of the first request until the end of
> the last one.
> HTH
>
> Sergio
>
> Il 27/07/2020 17:14, Prateek Dua ha scritto:
> > Resending with more details...
> >
> > Hi Team,
> > Need help in understanding the Throughput Calculation in Jmeter Native
> Dashboard Report. I'm considering the logic Throughput =
> > (number of requests) / (total time). Here for total time, I'm taking Avg
> Response time of requests.
> > ie. if requests fired are 100 ( row#2 in screenshot) and Avg response
> time is 26100 ms ; then I'm calculating -> 100 /26100 in ms
> > and then multiplying outcome with 1000 to get in sec ; then further
> multiplying with 60 to measure it in mins but not getting the
> > actual result 2.11 mentioned in report.
> > https://imgur.com/a/2r8XNF7
> >
> > Please help me in understanding this calculation.
> > Thanks,
> > Prateek
> > <https://imgur.com/a/2r8XNF7>
> >
> > Imgur <https://imgur.com/a/2r8XNF7>
> > Post with 16 views.
> > imgur.com
> >
> >
> > Thanks,
> > Prateek
> >
> >
> >   The contents of this email, including the attachments, are
> *privileged and confidential* to the intended recipient at
> >   the email address to which it has been addressed. If you
> receive it in error, please notify the sender immediately by
> >   return email and then permanently delete it from your system.
> The unauthorized use, distribution, copying or alteration
> >   of this email, including the attachments, is strictly
> forbidden. Please note that neither the sender nor the company
> >   accepts any responsibility for viruses and it is your
> responsibility to scan the email and attachments (if any).
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> > For additional commands, e-mail: user-h...@jmeter.apache.org
>
>
> --
>
> Ing. Sergio Boso
>
>
>
>

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).


Jmeter Throughput Calculation Concern - Native Dashboard Report

2020-07-27 Thread Prateek Dua
Resending with more details...

Hi Team,
Need help in understanding the Throughput Calculation in Jmeter Native  
Dashboard Report.  I'm considering the logic  Throughput = (number of requests) 
/ (total time). Here for total time, I'm taking Avg Response time of requests.
ie. if requests fired are 100 ( row#2 in screenshot) and Avg response time is 
26100 ms ; then I'm calculating -> 100 /26100 in ms and then multiplying 
outcome with 1000 to get in sec ; then further multiplying with 60 to measure 
it in mins but not getting the  actual result 2.11 mentioned in report.
 https://imgur.com/a/2r8XNF7

Please help me in understanding this calculation.

Thanks,
Prateek
[https://i.imgur.com/HG0qJ2w.jpg?fb]
Imgur
Post with 16 views.
imgur.com

Thanks,
Prateek

The contents of this email, including the attachments, are privileged and 
confidential to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Please note that neither the 
sender nor the company accepts any responsibility for viruses and it is your 
responsibility to scan the email and attachments (if any).

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

Re: Jmeter Throughput Calculation - Dashboard Report

2020-07-21 Thread Prateek Dua
here for total time, I'm taking Avg Response time of requests.

ie. if requests fired are 100 and Avg response time is 4000 ms ;

 then I'm calculating   100/4000

Throughput = (number of requests) / (total time

Thanks,
Prateek

On Wed, 22 Jul 2020, 03:44 Prateek Dua, 
wrote:

> Hi,
>
> I'm getting bit confused with Throughput Calculation in this --
> https://imgur.com/a/2r8XNF7   Jmeter Dashboard Report . I'm considering
> the
> logic  *Throughput = (number of requests) / (total time)*.  But not getting
> the calculative output as coming in report.
>
> Please let me know the mistake I'm doing here in calculating Throughput.
>
>
>
> Thanks,
> Prateek
>
> --
>
>
> ::DISCLAIMER::
>
>
>
> 
>
>
>
>
>
> This message is intended only for the use of the addressee and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not the
> intended recipient, or the employee or agent responsible for delivering
> the
> message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this e-mail in error, please notify us
> immediately by return e-mail and delete this e-mail and all attachments
> from your system.
>


Jmeter Throughput Calculation - Dashboard Report

2020-07-21 Thread Prateek Dua
Hi,

I'm getting bit confused with Throughput Calculation in this --
https://imgur.com/a/2r8XNF7   Jmeter Dashboard Report . I'm considering the
logic  *Throughput = (number of requests) / (total time)*.  But not getting
the calculative output as coming in report.

Please let me know the mistake I'm doing here in calculating Throughput.



Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Setup a testplan to run for 1 hour? Jmeter 5.3

2020-07-04 Thread Prateek Dua
please find the settings for same https://imgur.com/a/CSt8Lbs

On Sat, Jul 4, 2020 at 10:11 AM Srikanth Upadrasta
 wrote:

> I'm new to Jmeter, so pardon if this question was answered elsewhere. I
> want to use the scheduler functions described in the documentation (Apache
> JMeter - User's Manual: Elements of a Test Plan)
>
> |
> |
> |  |
> Apache JMeter - User's Manual: Elements of a Test Plan
>
>
>  |
>
>  |
>
>  |
>
>
>
> , but I'm seeing that option (I'm using Jmeter 5.3). I want to run a test
> plan for say 1 hour. How do I go about doing that?
> Thanks in advance.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Tigger 10 k user's at once with JMeter

2020-05-24 Thread Prateek Dua
Hi Kumar,

1. You can refer below links for quick help to set your values to receive
expected concurrency + screengrab  https://imgur.com/a/y4sSWjV  of how
multiple thread groups visible in jmeter by using jmeter plugin.

https://jmeter-plugins.org/wiki/ConcurrencyThreadGroup/

https://medium.com/@kalyani1729mittapalli/load-testing-using-concurrency-thread-group-in-apache-jmeter-63388ac3ec17

https://www.redline13.com/blog/2018/05/guide-jmeter-thread-groups/


2 Also you can try & check this set up --  Ramp up time ( 0.0003 sec) i.e.
[ 3 sec /1] with Thread grp of 10K users using default Thread group of
to get the expected concurrency. Also the application under Load (  server
receiving hits) can give you correct stats about the hits received per
second fired via Jmeter.

Thanks,
Prateek


On Sun, May 24, 2020 at 8:52 PM kumar srujan  wrote:

> Thanks Prateek for inputs.
> My scenario is that where I don't require any ramp up or steady state for
> test. Link provides various types of thread groups and controllers.
>
> After clicking on run button all 10K user's should hit the service in 2 or
> 3 secs.
>
> Thanks.
> ESK
>
> On Sun, May 24, 2020, 10:37 Prateek Dua 
> wrote:
>
> > No, I meant this .Google this and you'll find search results of different
> > types of Thread Thread group jmeter gives-- available via jmeter plugin
> >
> > If that not sorts out then give values of  ramp up time and Threads in
> old
> > and  basic Thread grp in a way that you meet ur expected requests
> criteria.
> >
> >
> >
> https://www.google.com/search?client=ms-android-samsung-ga-rev1=tf_JXufXNI769QOUkJfgDw=concurrency+thread+group=concurr_lcp=ChNtb2JpbGUtZ3dzLXdpei1zZXJwEAEYADIECAAQQzIFCAAQkQIyBAgAEEMyBQgAEJECMgIIADICCAAyAggAMgQIABAKOgQIABBHOgIIKToGCCkQFhAeOgUIKRCgAToECCkQRzoECCkQCjoFCAAQgwE6AgguUIcaWKBIYOhRaAFwAXgAgAG-AYgBmQqSAQMwLjiYAQCgAQGwAQ8=mobile-gws-wiz-serp#sbfbu=1=concurrency%20thread%20group
> >
> >
> >
> > On Sun, 24 May 2020, 10:28 kumar srujan,  wrote:
> >
> > > Hi Prateek,
> > >
> > > What you mean by different thread groups.
> > > You mean to say "add same request in different thread groups and divide
> > the
> > > users equally in those groups".
> > >
> > > Regards,
> > > ESK
> > >
> > > On Fri, May 22, 2020, 18:39 Prateek Dua  .invalid>
> > > wrote:
> > >
> > > > We can go for different Thread groups too apart from basic Thread
> Group
> > > to
> > > > have the expected concurrent users like concurrent thread group.
> > > >
> > > > Thanks ,
> > > > Prateek
> > > >
> > > > On Fri, 22 May 2020, 18:09 Karthik Ravindran, 
> > > wrote:
> > > >
> > > > > Use Parallel controllers - its an additional plugin from
> Blazemeter ,
> > > > >
> > > > > Thanks,
> > > > > Karthik.
> > > > >
> > > > > On Fri, 22 May 2020 at 16:03, kumar srujan 
> > > wrote:
> > > > >
> > > > > > Hi Team,
> > > > > >
> > > > > > We are using JMeter to test an API service with 10K user's for 1
> > > > > iteration.
> > > > > > We are not using any timers/controllers/ramp up nor any delay
> > time's
> > > > for
> > > > > > execution.
> > > > > > Test completes in 30 secs.
> > > > > > Now my requirement is to send all 10K requests at once, i.e in
> one
> > or
> > > > two
> > > > > > seconds.
> > > > > > Is there any such option in jmeter.
> > > > > >
> > > > > > I have used synchronize timer but not that efficient.
> > > > > > Any pointers on this would be greatly appreciated.
> > > > > >
> > > > > > Regards,
> > > > > > Srujan Kumar
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Karthik Subash
> > > > > Hear me @ +91 9962579915
> > > > > skype-rksubash3
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > > ::DISCLAIMER::
> > > >
> > > >
> > > >
> > > >
> > >
> >
> 
> > > >
> > > >
&

Re: Tigger 10 k user's at once with JMeter

2020-05-23 Thread Prateek Dua
No, I meant this .Google this and you'll find search results of different
types of Thread Thread group jmeter gives-- available via jmeter plugin

If that not sorts out then give values of  ramp up time and Threads in old
and  basic Thread grp in a way that you meet ur expected requests criteria.

https://www.google.com/search?client=ms-android-samsung-ga-rev1=tf_JXufXNI769QOUkJfgDw=concurrency+thread+group=concurr_lcp=ChNtb2JpbGUtZ3dzLXdpei1zZXJwEAEYADIECAAQQzIFCAAQkQIyBAgAEEMyBQgAEJECMgIIADICCAAyAggAMgQIABAKOgQIABBHOgIIKToGCCkQFhAeOgUIKRCgAToECCkQRzoECCkQCjoFCAAQgwE6AgguUIcaWKBIYOhRaAFwAXgAgAG-AYgBmQqSAQMwLjiYAQCgAQGwAQ8=mobile-gws-wiz-serp#sbfbu=1=concurrency%20thread%20group



On Sun, 24 May 2020, 10:28 kumar srujan,  wrote:

> Hi Prateek,
>
> What you mean by different thread groups.
> You mean to say "add same request in different thread groups and divide the
> users equally in those groups".
>
> Regards,
> ESK
>
> On Fri, May 22, 2020, 18:39 Prateek Dua 
> wrote:
>
> > We can go for different Thread groups too apart from basic Thread Group
> to
> > have the expected concurrent users like concurrent thread group.
> >
> > Thanks ,
> > Prateek
> >
> > On Fri, 22 May 2020, 18:09 Karthik Ravindran, 
> wrote:
> >
> > > Use Parallel controllers - its an additional plugin from Blazemeter ,
> > >
> > > Thanks,
> > > Karthik.
> > >
> > > On Fri, 22 May 2020 at 16:03, kumar srujan 
> wrote:
> > >
> > > > Hi Team,
> > > >
> > > > We are using JMeter to test an API service with 10K user's for 1
> > > iteration.
> > > > We are not using any timers/controllers/ramp up nor any delay time's
> > for
> > > > execution.
> > > > Test completes in 30 secs.
> > > > Now my requirement is to send all 10K requests at once, i.e in one or
> > two
> > > > seconds.
> > > > Is there any such option in jmeter.
> > > >
> > > > I have used synchronize timer but not that efficient.
> > > > Any pointers on this would be greatly appreciated.
> > > >
> > > > Regards,
> > > > Srujan Kumar
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Karthik Subash
> > > Hear me @ +91 9962579915
> > > skype-rksubash3
> > >
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Tigger 10 k user's at once with JMeter

2020-05-22 Thread Prateek Dua
We can go for different Thread groups too apart from basic Thread Group to
have the expected concurrent users like concurrent thread group.

Thanks ,
Prateek

On Fri, 22 May 2020, 18:09 Karthik Ravindran,  wrote:

> Use Parallel controllers - its an additional plugin from Blazemeter ,
>
> Thanks,
> Karthik.
>
> On Fri, 22 May 2020 at 16:03, kumar srujan  wrote:
>
> > Hi Team,
> >
> > We are using JMeter to test an API service with 10K user's for 1
> iteration.
> > We are not using any timers/controllers/ramp up nor any delay time's for
> > execution.
> > Test completes in 30 secs.
> > Now my requirement is to send all 10K requests at once, i.e in one or two
> > seconds.
> > Is there any such option in jmeter.
> >
> > I have used synchronize timer but not that efficient.
> > Any pointers on this would be greatly appreciated.
> >
> > Regards,
> > Srujan Kumar
> >
>
>
> --
> Regards,
> Karthik Subash
> Hear me @ +91 9962579915
> skype-rksubash3
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Thread Group & Jmeter Property Queries

2020-04-04 Thread Prateek Dua
Hi Team,

Need your help in understanding the following queries..

1. Jmeter 5.2. Thread Group -> Thread Properties ( *Same User on each
iteration*) generates repetitive requests from a Single User itself or
repetitive requests from multiple set of Users .

 Also how can we check if Users are not repeating in Jmeter for such
requests where response is not returning any cookie ?

https://imgur.com/a/tDbBa0e -- above  image


2. Setting property *jmeter.reportgenerator.statistic_window = -1*  i.e.
infinite window really increases the accuracy of the results in JMeter
Dashboardas compared to default *jmeter.reportgenerator.statistic_window
= 2 *?

And do this property needs to be set too in Jmeter5.2 onwards ?

https://imgur.com/a/tDbBa0e-- below image


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Gatling Vs Jmeter

2020-02-04 Thread Prateek Dua
Agreed with Adrain. We too did POC of gatling but considering the points
mentioned by Adrian ( scripting in scala when the scenarios get more
complex) , We moved to Jmeter.

Thanks,
Prateek

On Tue, Feb 4, 2020 at 2:22 PM Adrian Speteanu  wrote:

> Hi,
>
> While I'm not necessarily happy with the methodology used for comparison,
> the point remains that there aren't significant differences when it comes
> to the technical capabilities. So, in the end, it should come down to the
> implementation team's preferences. Are they going to feel more comfortable
> scripting in scala when the scenarios get more complex? Or do they prefer
> using the GUI of JMeter?
>
> Implementing scenarios would be simpler in JMeter in my view, but it would
> be easier to maintain scripts over time if they were coded (in any
> language).
>
> -A
>
>
>
> On Tue, Feb 4, 2020 at 7:14 AM Soumya Nayak  wrote:
>
> > Hi Team,
> >
> > I came across a link about Gatling Vs JMeter .
> >
> > https://dzone.com/articles/gatling-vs-jmeter
> >
> > From the above link I could see some of the advantages of Gatling over
> > JMeter with respect to memory and CPU usage.
> >
> > So anybody having more details can help me out this to create a line of
> > difference to plan for the specific tool usage better.
> >
> > Regards,
> > Soumya
> >
> >
> >
> >
> **
> > This message may contain confidential or proprietary information intended
> > only for the use of the
> > addressee(s) named above or may contain information that is legally
> > privileged. If you are
> > not the intended addressee, or the person responsible for delivering it
> to
> > the intended addressee,
> > you are hereby notified that reading, disseminating, distributing or
> > copying this message is strictly
> > prohibited. If you have received this message by mistake, please
> > immediately notify us by
> > replying to the message and delete the original message and any copies
> > immediately thereafter.
> >
> > If you received this email as a commercial message and would like to opt
> > out of future commercial
> > messages, please let us know and we will remove you from our distribution
> > list.
> >
> > Thank you.~
> >
> >
> **
> > FAFLD
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Java Issues

2020-01-07 Thread Prateek Dua
Tim, please use  https://m.imgur.com/ to upload your error image and share
url of it over here.

On Tue, 10 Dec 2019, 20:02 Wernicke, Tim, 
wrote:

> Hi all,
>
>
>
> I’m new to using JMeter and am having an issue getting it to recognize my
> installed version of Java.  When I try to start jmeter.bat I get the
> following error.  I’m running Java 11.0.5 and have added the Path
> environment variable to the install directory.  Not sure what else to do.
>
>
>
>
>
> Thanks!
>
>
>
> *Tim Wernicke*
>
> Quality Assurance Manager
>
> Milwaukee Tool
>
> O: 262-783-8637
>
> C: 262-330-3480
>
> F: 262-373-5632
>
> tim.werni...@milwaukeetool.com
>
>
>
> *Stay Connected*
> [image: Description: Description: Description:
> cid:4A9C86B8-0B97-400F-866B-936BC7BF1F04]
> [image: Description: Description:
> Description: cid:35E49CF6-9663-4FF7-A4BA-DE963B5392C1]
> [image: Description: Description:
> Description: cid:556189F3-98DD-481C-A52E-1A60825E3D2F]
> [image: Description:
> Description: Description: cid:C1FC9E7B-2EFA-4A42-8E24-5FD307808BF0]
> [image: Description: Description:
> Description: cid:254BAB00-5AC4-4448-9A74-5949B88A8A95]
> *[image:
> cid:image013.png@01CEFBDB.58F03570]*
> [image: Milwaukee Electric
> Tool Email Signature Glassdoor]
> 
>
>
>
> [image: Description:
> C:\Users\pmueller\AppData\Roaming\Microsoft\Signatures\METCoLogos\METCo_STD_Logo-RW.gif]
>
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Proto requests via Jmeter

2019-11-28 Thread Prateek Dua
Hi guys,

Any idea on handling Protobuf requests via Jmeter ? Our Organization got
shifted from Json to Proto for most of the apis request now .

So is there any convenient way to record Proto requests  ?


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Unable to record traffic from Android Device

2019-11-05 Thread Prateek Dua
 @ Shay Ginsbourg-- No.. nothing got recorded.

@ UBIK LOAD PACK Suppor --  Thanks for Sharing blog .. . I'll  check & get
back to you guys.


Thanks,
Prateek

On Tue, Oct 22, 2019 at 12:42 AM Shay Ginsbourg 
wrote:

> Did you succeed is recording anything else?
>
> What did work correctly?
>
>
>
>
>
>
> On Mon, Oct 21, 2019 at 9:23 PM Prateek Dua  .invalid>
> wrote:
>
> > Hi,
> >
> > I tried to connect Jmeter to android device (Redmi 4 Android version
> 7.1.2
> > N2G47H) by following tutorial
> https://www.youtube.com/watch?v=JFDcgKQ8VFw
> > to record traffic from device in Jmeter.  I've added Jmeter certificate
> in
> > Android device
> >
> > as " VPN  & apps'--  https://imgur.com/a/grfEYji but unable to
> > record traffic from Android device.
> >
> > Please help here in same.
> >
> >
> > Thanks,
> > Prateek
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>
>
> --
>
> Sincerely,
>
> *Shay Ginsbourg*
> *Performance, Automation, and Load Testing Expert. *
> *​Regulatory Affairs Consultant​ for Medical Software​.*
> *Ginsbourg.com (Since 2008)*
>
> Formerly QA Manager of LoadRunner at Mercury Interactive
>
> M.Sc. cum laude in Bio-Medical Engineering
> M.Sc. in Mechanical Engineering
>
> Mobile:  +972(0)54-6690915
> Email: sginsbo...@gmail.com
>
> Visit my personal page on LinkedIn at:
> http://www.linkedin.com/in/shayginsbourg
>
>
> [image: Shay Ginsbourg on about.me]
>
> Shay Ginsbourg
> about.me/shayginsbourg
>   <http://about.me/shayginsbourg>Please consider your environmental
> responsibility before printing this e-mail.
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Unable to record traffic from Android Device

2019-10-21 Thread Prateek Dua
Hi,

I tried to connect Jmeter to android device (Redmi 4 Android version 7.1.2
N2G47H) by following tutorial  https://www.youtube.com/watch?v=JFDcgKQ8VFw
to record traffic from device in Jmeter.  I've added Jmeter certificate in
Android device

as " VPN  & apps'--  https://imgur.com/a/grfEYji but unable to
record traffic from Android device.

Please help here in same.


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Excluding request from jtl file & Dashboard report

2019-04-29 Thread Prateek Dua
Hi,

Running jmeter via cmd line & generating Html Dashboard report for test
results view.

*Problem Statement* : have to exclude a Single http request to get
displayed in . jtl file & Dashboard report but this Single request is
giving data to further http requests.

So is there any way to go for the where a request can continue to process
to provide data to other requests but shouldn't get displayed in label /
requests section of .jtl file as well in HTML Dashboard Report.



Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Reporting data difference New relic vs Jmeter

2019-03-22 Thread Prateek Dua
Got the bottom line. thank a lot Andrew.

On Fri, 22 Mar 2019 at 09:53, Andrew Burton 
wrote:

> Is NewRelic reporting purely on server time, vs. JMeter reporting on total
> end to end time, including data transmission? Check JMeter's reporting of
> response time vs. latency (i.e. TTFB)
>
> On Thu, Mar 21, 2019 at 7:50 PM Prateek Dua 
> wrote:
>
> > Ran a test for 70K rpm on api ..
> >
> > New Relic says average below 10ms & 99%ile below 30ms. while Jmeter
> > reporting says Avg 126 ms & 99% 320 ms
> >
> > please find screenshot of both  https://imgur.com/a/259zDMk
> >
> >
> > So just curious to understand how can be there so huge difference
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>
-- 
sent via device, pls ignore typos.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Reporting data difference New relic vs Jmeter

2019-03-21 Thread Prateek Dua
Ran a test for 70K rpm on api ..

New Relic says average below 10ms & 99%ile below 30ms. while Jmeter
reporting says Avg 126 ms & 99% 320 ms

please find screenshot of both  https://imgur.com/a/259zDMk


So just curious to understand how can be there so huge difference

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Constant Throughput Timer Concerns

2019-03-18 Thread Prateek Dua
Got it .. thanks Ivan.

On Tue, 19 Mar 2019 at 00:51, Ivan Rancati  wrote:

> hi,
> a couple of ideas
>
> 1. It really depends on how long you anticipate a request will take. If you
> want 17k request per minute and each request takes 10 seconds (so 6
> requests in a minute), start with approximately 17k/6 threads and take it
> from there.
>
> 2. In general, I think it's better to use slightly more threads and use a
> Throughput Timer to limit the throughput. Perhaps it's easier to start with
> the Constant Throughput timer.
>
>
> best,
> Ivan
>
> On Fri, Mar 15, 2019 at 1:07 PM Prateek Dua 
> wrote:
>
> > just a reminder if there is any update to share on it from anyone.
> >
> > On Thu, Mar 14, 2019 at 12:50 AM Prateek Dua 
> > wrote:
> >
> > > Hi,
> > >
> > > If we are using Constant Throughput Timer with basic Thread group  (
> > > Threads, Ramp up Time & loop) to achieve concurrency of 17K rpm then --
> > >
> > >
> > > 1. In Thread group, do we have to pass ~ 20K threads i.e. Value input
> for
> > > Threads should always be greater than value defined in Throughput to
> > > achieve ?
> > >
> > >
> > > 2. For *Calculate Throughput based on* field in Constant Throughput
> > > Timer,  is it better to select option* 'this thread only'  *compared to
> > *' all
> > > active threads in current thread group'*  to achieve maximum expected
> > > Throughput.
> > >
> > >
> > > 3.Which is best to use among Throughput Shaping Timer / Constant
> > > Throughput Timer / Precise Throughput Timer ?
> > >
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>
-- 
sent via device, pls ignore typos.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Constant Throughput Timer Concerns

2019-03-15 Thread Prateek Dua
just a reminder if there is any update to share on it from anyone.

On Thu, Mar 14, 2019 at 12:50 AM Prateek Dua  wrote:

> Hi,
>
> If we are using Constant Throughput Timer with basic Thread group  (
> Threads, Ramp up Time & loop) to achieve concurrency of 17K rpm then --
>
>
> 1. In Thread group, do we have to pass ~ 20K threads i.e. Value input for
> Threads should always be greater than value defined in Throughput to
> achieve ?
>
>
> 2. For *Calculate Throughput based on* field in Constant Throughput
> Timer,  is it better to select option* 'this thread only'  *compared to *' all
> active threads in current thread group'*  to achieve maximum expected
> Throughput.
>
>
> 3.Which is best to use among Throughput Shaping Timer / Constant
> Throughput Timer / Precise Throughput Timer ?
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Distributed Load testing Problem

2019-03-14 Thread Prateek Dua
CSV problem solved too.

thanks Ivan for your insight in distribution load test


On Thu, 14 Mar 2019 at 16:53, Prateek Dua  wrote:

> Hi Ivan,
>
> We are able to do connectivity but on providing CSV , load is not getting
> distributed to slaves.  I have gone through below link but still CSV is not
> getting picked for Master & Slave.
>
>
> https://sqa.stackexchange.com/questions/14648/issue-with-reading-csv-file-when-doing-distributed-testing-in-jmeter
>
> The easiest way to resolve this issue is to place the *CSV* file on all
> servers *(Master and Slaves)*inside the *Bin* directory of JMeter and *don't
> specify any path for the CSV file* inside the your JMeter test plan i.e.
> don't use C:\Data\Files\abc.csv in your test plan, *use only abc.csv* (and
> place this file in Bin directory). Also, it will be good to keep the test
> plan too in the Bin directory of the Master system JMeter.
>
> But if you want to use the relative path like C:\Data\abc.csv, then make
> sure that this location exists on all the Slave systems and CSV file is
> present there at this location on all Slave systems. This thing may not
> work if your slave systems have different OS, like one slave is using
> Windows and another is Linux, then you should go with the first method
> which is the simplest and easiest one.
>
> On Thu, Mar 14, 2019 at 1:31 AM Ivan Rancati 
> wrote:
>
>> Two things you might have to check
>>
>> 1) keystore
>> since JMeter 4.0 you have to either configure a keystore for RMI, or
>> disable rmi over ssl
>> (see https://jmeter.apache.org/usermanual/remote-test.html#setup_ssl)
>>
>> 2) Is the rmi port (default 1099) open?
>> From the master, does telnet  1099 work, or do
>> you
>> get a "connection refused"?
>> From one of the slaves, does telnet  1099 work?
>>
>> best regards,
>> Ivan
>>
>> On Wed, Mar 13, 2019 at 8:02 PM Prateek Dua 
>> wrote:
>>
>> > Hi Guys,
>> >
>> > As per earlier discussion & suggestions on Distributed Load testing to
>> > achieve Max concurrency, I've configured my jmeter set up on aws server
>> per
>> > this link
>> >
>> >
>> https://www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter
>> >
>> > But still my master is unable to connect to slave machines . getting
>> > *connection
>> > time out error *always whenever Master tries to connect to Slave.
>> >
>> >
>> > Configuring remote engine: 10.30.x.x (slave ip)
>> >
>> > ERROR org.apache.jmeter.engine.DistributedRunner - Failed to create
>> engine
>> > at 10.30.x.x ( Slave ip)
>> >
>> > java.rmi.ConnectException: Connection refused to host: 10.30.x. x  ;
>> nested
>> > exception is:
>> >
>> > java.net.ConnectException: Connection timed out (Connection timed out)
>> >
>> >
>> > Configuring remote engine: 10.30.x.x
>> > Connection refused to host: 10.30.4.210; nested exception is:
>> > java.net.ConnectException: Connection timed out (Connection timed out)
>> > Failed to configure 10.30.x.x
>> >
>> > *Let me give a brief of what I have done*
>> >
>> > 1. Got 5 more aws slave instances & *all instances are replicas of
>> Master
>> > instance *having same Jmeter & Java & Jenkins version of Master
>> instance .
>> >
>> > 2. All slave & master instances are on same subnet.
>> >
>> > 3.  In jmeter.properties file of Master Server , added IPs of all the
>> slave
>> > systems against remote_hosts property.
>> >
>> > 4. Started jmeter.server file on all slave instances by running  cmd
>> > *./jmeter-server *& used another alternate cmd too *./jmeter-server
>> > -Djava.rmi.server.hostname=10.30.x.x. ( Slave IP)*
>> >
>> > *Output on running both cmds -> *Created remote object: UnicastServerRef
>> > [liveRef:
>> > [endpoint:[10.30.x.x:37279](local),objID:[ae7eac4:169775d4503:-7fff,
>> > 7214156034065384624]]
>> >
>> > 5. Passed param in non gui mode in script as -R slave 1, slavve 2 from
>> > Master Server ./jmeter -n -t
>> >
>> >
>> /var/lib/jenkins/workspace/apache-jmeter-4.0/extras/deployjmeter/throughput.jmx
>> > -R 10.30.x.x
>> >
>> > 6  Although I'm starting Jmeter in non gui mode as shell script inside
>> > Jenkins but on directly running via cmd line too -- I'm getting
>> connection
>> > Timeout error.
>> >
>> > *Can yo

Re: Distributed Load testing Problem

2019-03-14 Thread Prateek Dua
Hi Ivan,

We are able to do connectivity but on providing CSV , load is not getting
distributed to slaves.  I have gone through below link but still CSV is not
getting picked for Master & Slave.

https://sqa.stackexchange.com/questions/14648/issue-with-reading-csv-file-when-doing-distributed-testing-in-jmeter

The easiest way to resolve this issue is to place the *CSV* file on all
servers *(Master and Slaves)*inside the *Bin* directory of JMeter and *don't
specify any path for the CSV file* inside the your JMeter test plan i.e.
don't use C:\Data\Files\abc.csv in your test plan, *use only abc.csv* (and
place this file in Bin directory). Also, it will be good to keep the test
plan too in the Bin directory of the Master system JMeter.

But if you want to use the relative path like C:\Data\abc.csv, then make
sure that this location exists on all the Slave systems and CSV file is
present there at this location on all Slave systems. This thing may not
work if your slave systems have different OS, like one slave is using
Windows and another is Linux, then you should go with the first method
which is the simplest and easiest one.

On Thu, Mar 14, 2019 at 1:31 AM Ivan Rancati  wrote:

> Two things you might have to check
>
> 1) keystore
> since JMeter 4.0 you have to either configure a keystore for RMI, or
> disable rmi over ssl
> (see https://jmeter.apache.org/usermanual/remote-test.html#setup_ssl)
>
> 2) Is the rmi port (default 1099) open?
> From the master, does telnet  1099 work, or do you
> get a "connection refused"?
> From one of the slaves, does telnet  1099 work?
>
> best regards,
> Ivan
>
> On Wed, Mar 13, 2019 at 8:02 PM Prateek Dua 
> wrote:
>
> > Hi Guys,
> >
> > As per earlier discussion & suggestions on Distributed Load testing to
> > achieve Max concurrency, I've configured my jmeter set up on aws server
> per
> > this link
> >
> >
> https://www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter
> >
> > But still my master is unable to connect to slave machines . getting
> > *connection
> > time out error *always whenever Master tries to connect to Slave.
> >
> >
> > Configuring remote engine: 10.30.x.x (slave ip)
> >
> > ERROR org.apache.jmeter.engine.DistributedRunner - Failed to create
> engine
> > at 10.30.x.x ( Slave ip)
> >
> > java.rmi.ConnectException: Connection refused to host: 10.30.x. x  ;
> nested
> > exception is:
> >
> > java.net.ConnectException: Connection timed out (Connection timed out)
> >
> >
> > Configuring remote engine: 10.30.x.x
> > Connection refused to host: 10.30.4.210; nested exception is:
> > java.net.ConnectException: Connection timed out (Connection timed out)
> > Failed to configure 10.30.x.x
> >
> > *Let me give a brief of what I have done*
> >
> > 1. Got 5 more aws slave instances & *all instances are replicas of Master
> > instance *having same Jmeter & Java & Jenkins version of Master instance
> .
> >
> > 2. All slave & master instances are on same subnet.
> >
> > 3.  In jmeter.properties file of Master Server , added IPs of all the
> slave
> > systems against remote_hosts property.
> >
> > 4. Started jmeter.server file on all slave instances by running  cmd
> > *./jmeter-server *& used another alternate cmd too *./jmeter-server
> > -Djava.rmi.server.hostname=10.30.x.x. ( Slave IP)*
> >
> > *Output on running both cmds -> *Created remote object: UnicastServerRef
> > [liveRef:
> > [endpoint:[10.30.x.x:37279](local),objID:[ae7eac4:169775d4503:-7fff,
> > 7214156034065384624]]
> >
> > 5. Passed param in non gui mode in script as -R slave 1, slavve 2 from
> > Master Server ./jmeter -n -t
> >
> >
> /var/lib/jenkins/workspace/apache-jmeter-4.0/extras/deployjmeter/throughput.jmx
> > -R 10.30.x.x
> >
> > 6  Although I'm starting Jmeter in non gui mode as shell script inside
> > Jenkins but on directly running via cmd line too -- I'm getting
> connection
> > Timeout error.
> >
> > *Can you guys let me know the mistake or steps I'm missing i.e.*
> >
> > -- Do I have to start jmeter-server on Master Server too ?
> >
> > -- Any port or network connecting issue among Master & Slave ?
> >
> > --  further changes to be done in any file of Master or Server  ?
> >
> > -- Is it because Slaves are replicas of Master Instance having same
> jmeter
> > & jenkins version ( but differ in terms of IP )
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 

Constant Throughput Timer Concerns

2019-03-13 Thread Prateek Dua
Hi,

If we are using Constant Throughput Timer with basic Thread group  (
Threads, Ramp up Time & loop) to achieve concurrency of 17K rpm then --


1. In Thread group, do we have to pass ~ 20K threads i.e. Value input for
Threads should always be greater than value defined in Throughput to
achieve ?


2. For *Calculate Throughput based on* field in Constant Throughput Timer,
is it better to select option* 'this thread only'  *compared to *' all
active threads in current thread group'*  to achieve maximum expected
Throughput.


3.Which is best to use among Throughput Shaping Timer / Constant Throughput
Timer / Precise Throughput Timer ?

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Distributed Load testing Problem

2019-03-13 Thread Prateek Dua
Hi Guys,

As per earlier discussion & suggestions on Distributed Load testing to
achieve Max concurrency, I've configured my jmeter set up on aws server per
this link
https://www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter

But still my master is unable to connect to slave machines . getting
*connection
time out error *always whenever Master tries to connect to Slave.


Configuring remote engine: 10.30.x.x (slave ip)

ERROR org.apache.jmeter.engine.DistributedRunner - Failed to create engine
at 10.30.x.x ( Slave ip)

java.rmi.ConnectException: Connection refused to host: 10.30.x. x  ; nested
exception is:

java.net.ConnectException: Connection timed out (Connection timed out)


Configuring remote engine: 10.30.x.x
Connection refused to host: 10.30.4.210; nested exception is:
java.net.ConnectException: Connection timed out (Connection timed out)
Failed to configure 10.30.x.x

*Let me give a brief of what I have done*

1. Got 5 more aws slave instances & *all instances are replicas of Master
instance *having same Jmeter & Java & Jenkins version of Master instance .

2. All slave & master instances are on same subnet.

3.  In jmeter.properties file of Master Server , added IPs of all the slave
systems against remote_hosts property.

4. Started jmeter.server file on all slave instances by running  cmd
*./jmeter-server *& used another alternate cmd too *./jmeter-server
-Djava.rmi.server.hostname=10.30.x.x. ( Slave IP)*

*Output on running both cmds -> *Created remote object: UnicastServerRef
[liveRef:
[endpoint:[10.30.x.x:37279](local),objID:[ae7eac4:169775d4503:-7fff,
7214156034065384624]]

5. Passed param in non gui mode in script as -R slave 1, slavve 2 from
Master Server ./jmeter -n -t
/var/lib/jenkins/workspace/apache-jmeter-4.0/extras/deployjmeter/throughput.jmx
-R 10.30.x.x

6  Although I'm starting Jmeter in non gui mode as shell script inside
Jenkins but on directly running via cmd line too -- I'm getting connection
Timeout error.

*Can you guys let me know the mistake or steps I'm missing i.e.*

-- Do I have to start jmeter-server on Master Server too ?

-- Any port or network connecting issue among Master & Slave ?

--  further changes to be done in any file of Master or Server  ?

-- Is it because Slaves are replicas of Master Instance having same jmeter
& jenkins version ( but differ in terms of IP )

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


unable to create new native thread error

2019-03-12 Thread Prateek Dua
Hi,


I am trying to give load of 1Lacs user from command line mode of
Jmeter (  -Jthreads=12 -Jramp=1 -Jloop=1 -)  set up on Aws machine
( single machine) using the  basic thread group using constant
throughput timer to achieve throughput of  1Lac rpm. But while running
the script getting this below error...


*Uncaught Exception java.lang.OutOfMemoryError: unable to create new
native thread. See log file for details*


I've configured *setenv.sh* file in *bin* folder as :


*export HEAP="-Xms1024m -Xmx8g -XX:MaxMetaspaceSize=256m"*




Is there any other changes which are required from my end to done in
any file in Jmeter to solve this error  ? pls help.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Generate User Id dynamically

2019-03-10 Thread Prateek Dua
Ok..got it, thanks

On Sun, Mar 10, 2019 at 3:27 AM Deepak Shetty  wrote:

> If you are using User{__threadNum} and running say 10 threads , you will
> get User1...User10. If you stop the test and run it again - or if you let
> the thread group have multiple iterations - or if you decide to distribute
> your test across multiple JMeter machines , then it will again generate
> User1...User10 (i.e. uniqueness is only within a single iteration on a
> single JVM) -
>
> On Sat, Mar 9, 2019 at 10:45 AM Prateek Dua 
> wrote:
>
> > pls explain this in a bit detail.
> >
> > On Sat, Mar 9, 2019 at 11:24 PM Deepak Shetty  wrote:
> >
> > > Note this doesnt mean if you run the test 2 times it will generate the
> > same
> > > numbers
> > >
> > > On Sat, Mar 9, 2019 at 3:51 AM Prateek Dua 
> > wrote:
> > >
> > > > Thank you guys,
> > > >
> > > > I used the function {__threadNum} to input thread id as user id.
> > > >
> > > > On Thu, Mar 7, 2019 at 8:17 PM Indu Gupta 
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > You can add below lines in body Data of your request :
> > > > >
> > > > > {
> > > > > "username": user${__Random(0,100)}
> > > > >
> > > > > }
> > > > >
> > > > > This will generate user as user1,user0, user 2 etc. Random number
> of
> > > > users
> > > > > 0 and 100.
> > > > >
> > > > >
> > > > >
> > > > > Regards,
> > > > > Indu Gupta
> > > > >
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From: Prateek Dua [mailto:prateek@go-mmt.com]
> > > > > Sent: 07 March 2019 12:40
> > > > > To: JMeter Users List ; JMeter
> Users
> > > > List
> > > > > 
> > > > > Subject: Re: Generate User Id dynamically
> > > > >
> > > > > I meant-- via CSV we have to provide users in sheet & then get them
> > > .But
> > > > > is there any mechanism in Jmeter via we can use directly to create
> > user
> > > > id
> > > > > dynamically & pass as a variable in script.
> > > > >
> > > > > On Thu, Mar 7, 2019 at 8:33 AM Prateek Dua  >
> > > > wrote:
> > > > >
> > > > > > Hey guys,
> > > > > >
> > > > > > Is there any way to generate unique user ids dynamically to use
> > them
> > > > > > in a script as a variable.
> > > > > >
> > > > > > CSV is the 1 approach to do that but just want to know is there
> any
> > > > > > mechanism to do that?
> > > > > > --
> > > > > > sent via device, pls ignore typos.
> > > > > >
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > > ::DISCLAIMER::
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > This message is intended only for the use of the addressee and may
> > > > contain
> > > > > information that is privileged, confidential and exempt from
> > disclosure
> > > > > under applicable law. If the reader of this message is not the
> > intended
> > > > > recipient, or the employee or agent responsible for delivering the
> > > > message
> > > > > to the intended recipient, you are hereby notified that any
> > > > dissemination,
> > > > > distribution or copying of this communication is strictly
> prohibited.
> > > If
> > > > > you have received this e-mail in error, please notify us
> immediately
> > by
> > > > > return e-mail and delete this e-mail and all attachments from your
> > > > system.
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > > ::DISCLAIMER::
> > > >
> > > >
> > >

Re: Generate User Id dynamically

2019-03-09 Thread Prateek Dua
pls explain this in a bit detail.

On Sat, Mar 9, 2019 at 11:24 PM Deepak Shetty  wrote:

> Note this doesnt mean if you run the test 2 times it will generate the same
> numbers
>
> On Sat, Mar 9, 2019 at 3:51 AM Prateek Dua  wrote:
>
> > Thank you guys,
> >
> > I used the function {__threadNum} to input thread id as user id.
> >
> > On Thu, Mar 7, 2019 at 8:17 PM Indu Gupta 
> > wrote:
> >
> > > Hi,
> > >
> > > You can add below lines in body Data of your request :
> > >
> > > {
> > > "username": user${__Random(0,100)}
> > >
> > > }
> > >
> > > This will generate user as user1,user0, user 2 etc. Random number of
> > users
> > > 0 and 100.
> > >
> > >
> > >
> > > Regards,
> > > Indu Gupta
> > >
> > >
> > >
> > > -Original Message-
> > > From: Prateek Dua [mailto:prateek@go-mmt.com]
> > > Sent: 07 March 2019 12:40
> > > To: JMeter Users List ; JMeter Users
> > List
> > > 
> > > Subject: Re: Generate User Id dynamically
> > >
> > > I meant-- via CSV we have to provide users in sheet & then get them
> .But
> > > is there any mechanism in Jmeter via we can use directly to create user
> > id
> > > dynamically & pass as a variable in script.
> > >
> > > On Thu, Mar 7, 2019 at 8:33 AM Prateek Dua 
> > wrote:
> > >
> > > > Hey guys,
> > > >
> > > > Is there any way to generate unique user ids dynamically to use them
> > > > in a script as a variable.
> > > >
> > > > CSV is the 1 approach to do that but just want to know is there any
> > > > mechanism to do that?
> > > > --
> > > > sent via device, pls ignore typos.
> > > >
> > >
> > > --
> > >
> > >
> > > ::DISCLAIMER::
> > >
> > >
> > >
> > >
> >
> 
> > >
> > >
> > >
> > >
> > >
> > > This message is intended only for the use of the addressee and may
> > contain
> > > information that is privileged, confidential and exempt from disclosure
> > > under applicable law. If the reader of this message is not the intended
> > > recipient, or the employee or agent responsible for delivering the
> > message
> > > to the intended recipient, you are hereby notified that any
> > dissemination,
> > > distribution or copying of this communication is strictly prohibited.
> If
> > > you have received this e-mail in error, please notify us immediately by
> > > return e-mail and delete this e-mail and all attachments from your
> > system.
> > >
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Jmeter & application logging concern

2019-03-09 Thread Prateek Dua
hi guys,



What's the best way to configure logging in Jmeter to see all the
application ( which we are hitting) and all Jmeter logs in a single log
file . Basically i customized  attached log4j2.xml file & replaced


original ( which comes after installation) log4j2.xml with that in bin
folder.


But with that following thing happened


*Jmeter & application logs in detail started coming in Jenkins console but
in bin folder jmeter.log file stops getting updated i.e no further logging
in Jmeter. *



Then I customized log file with this link i googled ..
*https://www.blazemeter.com/blog/how-to-configure-jmeter-logging
*  but
after doing that..


Application logs stopped coming & Jmeter logs *in detai*l stopped coming in
Jenkins console . In bin folder jmeter.log file starts getting updated *but
not in detail.*


*** detail logs I meant above -- ALL the logs -- when jmeter started, no.
of threads , loop input value, summarizer i.e. all the activity logs of
Jmeter during the test run..



So please help me in to configure logging in a way to see all the
application ( which we are hitting) and all Jmeter logs  in a single log
file & in Jenkins console too.


And if you have any updated working log4j2.xml file that covers this case
then please share with me...

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.




  


  
%d %p %c{1.}: %m%n
  



  
%d %p %c{1.}: %m%n
  


  

  


  
  

































  



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

Re: Generate User Id dynamically

2019-03-09 Thread Prateek Dua
Thank you guys,

I used the function {__threadNum} to input thread id as user id.

On Thu, Mar 7, 2019 at 8:17 PM Indu Gupta  wrote:

> Hi,
>
> You can add below lines in body Data of your request :
>
> {
> "username": user${__Random(0,100)}
>
> }
>
> This will generate user as user1,user0, user 2 etc. Random number of users
> 0 and 100.
>
>
>
> Regards,
> Indu Gupta
>
>
>
> -Original Message-
> From: Prateek Dua [mailto:prateek@go-mmt.com]
> Sent: 07 March 2019 12:40
> To: JMeter Users List ; JMeter Users List
> 
> Subject: Re: Generate User Id dynamically
>
> I meant-- via CSV we have to provide users in sheet & then get them .But
> is there any mechanism in Jmeter via we can use directly to create user id
> dynamically & pass as a variable in script.
>
> On Thu, Mar 7, 2019 at 8:33 AM Prateek Dua  wrote:
>
> > Hey guys,
> >
> > Is there any way to generate unique user ids dynamically to use them
> > in a script as a variable.
> >
> > CSV is the 1 approach to do that but just want to know is there any
> > mechanism to do that?
> > --
> > sent via device, pls ignore typos.
> >
>
> --
>
>
> ::DISCLAIMER::
>
>
>
> 
>
>
>
>
>
> This message is intended only for the use of the addressee and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If the reader of this message is not the intended
> recipient, or the employee or agent responsible for delivering the message
> to the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you have received this e-mail in error, please notify us immediately by
> return e-mail and delete this e-mail and all attachments from your system.
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Test not running for specified duration

2019-03-09 Thread Prateek Dua
Hi  Philippe,

Added message -> *https://imgur.com/a/10CWVPw
<https://imgur.com/a/10CWVPw>* was
unclear for me to understand that if a test needs to be run for a specific
duration then what should be set to make that .



On Thu, Mar 7, 2019 at 8:26 AM Prateek Dua  wrote:

> Hey Philippe,
>
> I need to check that again, might be I've missed that.
>
> Will let you know
>
> On Wed, 6 Mar 2019 at 02:25, Philippe Mouawad <
> p.moua...@ubik-ingenierie.com> wrote:
>
>> Hello Prateek,
>> In 5.1, a message in UI was added in Scheduler to explain your issue.
>> But it looks like it was either not clear or you didn't notice it or
>> understand it ?
>>
>> Could you tell us maybe what could have helped you ?
>>
>> Thanks
>>
>> On Tue, Mar 5, 2019 at 8:09 AM Prateek Dua 
>> wrote:
>>
>> > Thanks you Antonio. Solution works.
>> >
>> > On Mon, Mar 4, 2019 at 7:34 PM Antonio Gomes Rodrigues <
>> ra0...@gmail.com>
>> > wrote:
>> >
>> > > Hi
>> > >
>> > > Check "Forever" option in "Loop Count"
>> > >
>> > > Le lun. 4 mars 2019 à 14:51, Prateek Dua  a
>> > écrit
>> > > :
>> > >
>> > > > Hi,
>> > > >
>> > > > I'm running test in Jmeter 5.1 for a specified duration of 120 sec
>> but
>> > > test
>> > > > is not running upto that time constraint in Jmeter UI mode. Also I'm
>> > > trying
>> > > > to run test via command line mode for a parametrized duration but
>> there
>> > > > also test is not running.
>> > > >
>> > > > please find attached screenshots https://imgur.com/a/rmcudWZ of
>> same &
>> > > > would be great to see the mistake I'm doing here.
>> > > >
>> > > >
>> > > > Thanks,
>> > > > Prateek
>> > > >
>> > > > --
>> > > >
>> > > >
>> > > > ::DISCLAIMER::
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> 
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > This message is intended only for the use of the addressee and may
>> > > > contain information that is privileged, confidential and exempt from
>> > > > disclosure under applicable law. If the reader of this message is
>> not
>> > the
>> > > > intended recipient, or the employee or agent responsible for
>> delivering
>> > > > the
>> > > > message to the intended recipient, you are hereby notified that any
>> > > > dissemination, distribution or copying of this communication is
>> > strictly
>> > > > prohibited. If you have received this e-mail in error, please
>> notify us
>> > > > immediately by return e-mail and delete this e-mail and all
>> attachments
>> > > > from your system.
>> > > >
>> > >
>> >
>> > --
>> >
>> >
>> > ::DISCLAIMER::
>> >
>> >
>> >
>> >
>> 
>> >
>> >
>> >
>> >
>> >
>> > This message is intended only for the use of the addressee and may
>> > contain information that is privileged, confidential and exempt from
>> > disclosure under applicable law. If the reader of this message is not
>> the
>> > intended recipient, or the employee or agent responsible for delivering
>> > the
>> > message to the intended recipient, you are hereby notified that any
>> > dissemination, distribution or copying of this communication is strictly
>> > prohibited. If you have received this e-mail in error, please notify us
>> > immediately by return e-mail and delete this e-mail and all attachments
>> > from your system.
>> >
>>
>>
>> --
>>
>>
>> [image: logo Ubik Ingenierie] <https://www.ubik-ingenierie.com> Philippe
>> Mouawad
>> Senior Performance Expert
>> 320914981 <+33320914981> | p.moua...@ubik-ingenierie.com
>> [image: ubik-ingenierie.com] ubik-ingenierie.com
>> <https://www.ubik-ingenierie.com> | [image: 03.20.91.49.81]
>> 03.20.91.49.81
>> <+33320914981> | [image: 23 rue du chemin de fer , 59100 , Roubaix] 23 rue
>> du chemin de fer, 59100, Roubaix
>> <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
>>
> --
> sent via device, pls ignore typos.
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Generate User Id dynamically

2019-03-06 Thread Prateek Dua
I meant-- via CSV we have to provide users in sheet & then get them .But is
there any mechanism in Jmeter via we can use directly to create user id
dynamically & pass as a variable in script.

On Thu, Mar 7, 2019 at 8:33 AM Prateek Dua  wrote:

> Hey guys,
>
> Is there any way to generate unique user ids dynamically to use them in a
> script as a variable.
>
> CSV is the 1 approach to do that but just want to know is there any
> mechanism to do that?
> --
> sent via device, pls ignore typos.
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Generate User Id dynamically

2019-03-06 Thread Prateek Dua
Hey guys,

Is there any way to generate unique user ids dynamically to use them in a
script as a variable.

CSV is the 1 approach to do that but just want to know is there any
mechanism to do that?
-- 
sent via device, pls ignore typos.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Android SDK testing via Jmeter

2019-03-05 Thread Prateek Dua
Hi Indu,

That's the way you go record Mobile app i.e. apk but here concern is
related to hitting SDK directly via Jmeter.

On Tue, Mar 5, 2019 at 2:43 PM Indu Gupta  wrote:

> Hi,
>
> Yes, Android app testing is possible through Jmeter.
>
> Below tutorials will help you more:
>
> https://www.360logica.com/blog/how-to-configure-jmeter-and-mobile-device-to-record-scripts-for-native-app-in-it/
>
> Regards,
> Indu
>
> ________
> From: Prateek Dua 
> Sent: 05 March 2019 14:05:25
> To: JMeter Users List; JMeter Users List
> Subject: Android SDK testing via Jmeter
>
> Hi,
>
> Is there any way to do Load testing of Android SDK via Jmeter ?
>
> --
>
>
> ::DISCLAIMER::
>
>
>
> 
>
>
>
>
>
> This message is intended only for the use of the addressee and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not the
> intended recipient, or the employee or agent responsible for delivering the
> message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this e-mail in error, please notify us
> immediately by return e-mail and delete this e-mail and all attachments
> from your system.
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Android SDK testing via Jmeter

2019-03-05 Thread Prateek Dua
Hi,

Is there any way to do Load testing of Android SDK via Jmeter ?

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Increase Server hits Per Sec

2019-03-04 Thread Prateek Dua
Hi,

I have got a case where I have to maintain a concurrency of 50K request per
second on server. I'am using Concurrency Thread Group but I'm unable to get
that Avg concurrency of 50k request Hits per sec

Jmeter is hosted on aws machine..

So is there any way to increase server hits per second
https://imgur.com/a/VFWhMut & what will be the appropriate thread group to
do that ?

please help...


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Test not running for specified duration

2019-03-04 Thread Prateek Dua
Thanks you Antonio. Solution works.

On Mon, Mar 4, 2019 at 7:34 PM Antonio Gomes Rodrigues 
wrote:

> Hi
>
> Check "Forever" option in "Loop Count"
>
> Le lun. 4 mars 2019 à 14:51, Prateek Dua  a écrit
> :
>
> > Hi,
> >
> > I'm running test in Jmeter 5.1 for a specified duration of 120 sec but
> test
> > is not running upto that time constraint in Jmeter UI mode. Also I'm
> trying
> > to run test via command line mode for a parametrized duration but there
> > also test is not running.
> >
> > please find attached screenshots https://imgur.com/a/rmcudWZ of same &
> > would be great to see the mistake I'm doing here.
> >
> >
> > Thanks,
> > Prateek
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Test not running for specified duration

2019-03-04 Thread Prateek Dua
Hi,

I'm running test in Jmeter 5.1 for a specified duration of 120 sec but test
is not running upto that time constraint in Jmeter UI mode. Also I'm trying
to run test via command line mode for a parametrized duration but there
also test is not running.

please find attached screenshots https://imgur.com/a/rmcudWZ of same &
would be great to see the mistake I'm doing here.


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: increase Ram allocation - heap size Jmeter

2019-02-18 Thread Prateek Dua
Hi Felix,

Just couple of questions here..,

*"**setenv.sh"* includes single line export HEAP="-Xms2g -Xmx2g
-XX:MaxMetaspaceSize=256m" & if we are increasing from 1gb to 2gb here , do
we have to change the value of MaxMetaspaceSize also from
-XX:MaxMetaspaceSize=256m
to -*XX:MaxMetaspaceSize=2g  ?*

OR  below lines..

  #!/bin/sh
  JVM_ARGS="-Xms512m -Xmx5120m"













On Sat, Feb 16, 2019 at 5:35 PM Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
> Am 16.02.19 um 09:42 schrieb Prateek Dua:
> > Hi,
> >
> > I'm running jmeter via shell script - Jenkins
> > /var/lib/jenkins/workspace/apache-jmeter-4.0/bin/*jmeter  *
> >
> > I want to increase heap size -Xms1g -Xmx1g  in Jmeter as while running a
> > script with heavy csv records got error  [StandardJMeterEngine] ERROR
> > org.apache.jmeter.JMeter - Uncaught exception:
> > java.lang.OutOfMemoryError: Java heap space
> >
> > Have gone through various articles & got confused in changing the
> > allocation size . There are *3 files in bin folder* which includes heap
> > size allocation config
> >
> > 1.   setenv.sh   -- Shell Script
>
> This is in my opinion the best place to put your personalized settings.
> Have a look in the docs or in the jmeter script for the variable names
> and set those in the setenv.sh file.
>
> That way you can easily update your JMeter installation later.
>
> > 2.   *jmeter  --  Unix Executable*   // I'm using this file in running
> > jmeter via shell script from Jenkins as stated above
> > 3jmeter.sh -- Shell Script
> >
> > So my ask is -- Do I have to change the heap size allocation in all
> these 3
> > files to see the impact *OR* in any one of these files* OR* only in
> > jmeter  *jmeter
> > --  Unix Executable *which I'm using to run Jmeter.
>
> You should set the variable in setenv.sh. The other scripts will use
> those values.
>
> Regards,
>
>   Felix
>
> >
> >
> > please help me on this.
> >
> > Thanks,
> > Prateek
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: increase Ram allocation - heap size Jmeter

2019-02-16 Thread Prateek Dua
+ more group

On Sat, Feb 16, 2019 at 2:12 PM Prateek Dua  wrote:

> Hi,
>
> I'm running jmeter via shell script - Jenkins
> /var/lib/jenkins/workspace/apache-jmeter-4.0/bin/*jmeter  *
>
> I want to increase heap size -Xms1g -Xmx1g  in Jmeter as while running a
> script with heavy csv records got error  [StandardJMeterEngine] ERROR
> org.apache.jmeter.JMeter - Uncaught exception:
> java.lang.OutOfMemoryError: Java heap space
>
> Have gone through various articles & got confused in changing the
> allocation size . There are *3 files in bin folder* which includes heap
> size allocation config
>
> 1.   setenv.sh   -- Shell Script
> 2.   *jmeter  --  Unix Executable*   // I'm using this file in running
> jmeter via shell script from Jenkins as stated above
> 3jmeter.sh -- Shell Script
>
> So my ask is -- Do I have to change the heap size allocation in all these
> 3 files to see the impact *OR* in any one of these files* OR* only in
> jmeter  *jmeter  --  Unix Executable *which I'm using to run Jmeter.
>
>
> please help me on this.
>
> Thanks,
> Prateek
>
>
>
>
>
>
>
>
>
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


increase Ram allocation - heap size Jmeter

2019-02-16 Thread Prateek Dua
Hi,

I'm running jmeter via shell script - Jenkins
/var/lib/jenkins/workspace/apache-jmeter-4.0/bin/*jmeter  *

I want to increase heap size -Xms1g -Xmx1g  in Jmeter as while running a
script with heavy csv records got error  [StandardJMeterEngine] ERROR
org.apache.jmeter.JMeter - Uncaught exception:
java.lang.OutOfMemoryError: Java heap space

Have gone through various articles & got confused in changing the
allocation size . There are *3 files in bin folder* which includes heap
size allocation config

1.   setenv.sh   -- Shell Script
2.   *jmeter  --  Unix Executable*   // I'm using this file in running
jmeter via shell script from Jenkins as stated above
3jmeter.sh -- Shell Script

So my ask is -- Do I have to change the heap size allocation in all these 3
files to see the impact *OR* in any one of these files* OR* only in
jmeter  *jmeter
--  Unix Executable *which I'm using to run Jmeter.


please help me on this.

Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Configure Filename in UI

2019-02-10 Thread Prateek Dua
Hi,

I'm running Jmeter in command line mode & when I open the jtl file, I see a
Filename field ( which is unutilized / vacant)  in .jtl file .  I'm not
using CSV file in my test plan.

Is there any way to configure the *Filename field ( where to find it ?? ) *
in Jmeter UI mode , So that I can pass the input of my choice &  see the
results accordingly in Jtl file -- when ran in command line mode.

Screenshot attached for Filename field..  https://imgur.com/a/hldr1zq

Please guide me on this.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


grpc client handling in jmeter

2019-01-31 Thread Prateek Dua
Hi Guys,

Is there any way around to handle grpc client  in Jmeter ?

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Protobuf handling Jmeter

2019-01-16 Thread Prateek Dua
Thanks Deepak. Example 2 is the concern in my case. Yeah we are going via
writing Java Code approach but thought of any other alternative to do this.


Thanks,
Prateek

On Thu, Jan 17, 2019 at 12:45 AM Deepak Shetty  wrote:

> Hi
> Protocol buffers is a way to efficiently serialize some data into a binary
> representation.
> You havent yet articulated what you want to performance test .
>
> Example 1 - Perhaps your application has some objects that it used to save
> to XML files. Someone has now come up with the idea of saving it using
> protobuf. You are trying to verify that this is faster than what you have -
> In this case there is no HTTP  / No proxy - you are just testing out a java
> api and you could just use a Java Sampler .
>
> Example 2 - Perhaps your application is posting JSON data into a queue and
> now someone has decided to change it to use protobuf. In this case you
> still need to write some java code to get the binary payload and post that
> to the queue - No HTTP/Proxy recording here either.
>
> Example 3 : Perhaps your application is wanting to post protobuf to some
> HTTP API and its really the performance number of the API that you want to
> find out . You could record this , but in order to vary the data you would
> need to write some java code (there is no record/replay for that java
> code).
>
> and so on.
> Read up on protobuf perhaps that will make some things more clearer.
>
> On Wed, Jan 16, 2019 at 2:28 AM Prateek Dua 
> wrote:
>
> > Hi Deepak,
> >
> > Requirement is to test Performance of apis created via Protobuf through
> > Jmeter. But since I don't have Json or Curl request , So I'm stuck how to
> > record these Protobuf supported apis via Jmeter's Http Proxy Server.
> >
> > Thanks,
> > Prateek
> >
> >
> > On Wed, Jan 16, 2019 at 5:18 AM Deepak Shetty  wrote:
> >
> > > Hi
> > > not sure what your requirement is - However protobuf has a java api and
> > you
> > > can use that to generate the payload like any other java code that you
> > need
> > > to invoke. if you need to pass that payload in some request then that
> > > should be possible too
> > >
> > > On Tue, Jan 15, 2019 at 12:43 AM Prateek Dua 
> > > wrote:
> > >
> > > > Hi guys,
> > > >
> > > > Any idea on handling of Protobuf requests via Jmeter ?
> > > >
> > > >
> > > > Thanks,
> > > > Prateek
> > > >
> > > > --
> > > >
> > > >
> > > > ::DISCLAIMER::
> > > >
> > > >
> > > >
> > > >
> > >
> >
> 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > This message is intended only for the use of the addressee and may
> > > > contain information that is privileged, confidential and exempt from
> > > > disclosure under applicable law. If the reader of this message is not
> > the
> > > > intended recipient, or the employee or agent responsible for
> delivering
> > > > the
> > > > message to the intended recipient, you are hereby notified that any
> > > > dissemination, distribution or copying of this communication is
> > strictly
> > > > prohibited. If you have received this e-mail in error, please notify
> us
> > > > immediately by return e-mail and delete this e-mail and all
> attachments
> > > > from your system.
> > > >
> > >
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Protobuf handling Jmeter

2019-01-16 Thread Prateek Dua
Hi Deepak,

Requirement is to test Performance of apis created via Protobuf through
Jmeter. But since I don't have Json or Curl request , So I'm stuck how to
record these Protobuf supported apis via Jmeter's Http Proxy Server.

Thanks,
Prateek


On Wed, Jan 16, 2019 at 5:18 AM Deepak Shetty  wrote:

> Hi
> not sure what your requirement is - However protobuf has a java api and you
> can use that to generate the payload like any other java code that you need
> to invoke. if you need to pass that payload in some request then that
> should be possible too
>
> On Tue, Jan 15, 2019 at 12:43 AM Prateek Dua 
> wrote:
>
> > Hi guys,
> >
> > Any idea on handling of Protobuf requests via Jmeter ?
> >
> >
> > Thanks,
> > Prateek
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Protobuf handling Jmeter

2019-01-15 Thread Prateek Dua
Hi guys,

Any idea on handling of Protobuf requests via Jmeter ?


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Apache Grafana Dashboard Data Discrepancy

2019-01-14 Thread Prateek Dua
Hi,

I've configured Jmeter & Influx DB  via Backend Listeners to populate data
from Jmeter to Influx DB. And further Apache Jmeter Grafana Dashboard is
using data from InfluxDB to plot graphs. Dashboard in Grafana are
configured to display data as per local browser time.

But When I compare fields of Jmeter Apache Html Report with Apache Jmeter
Grafana Dashboard , then only Avg field of Jmeter Apache Dashboard) matches
with 'Current' field in Apache Jmeter Grafana Dashboard. While Other fields
like Min & Max shows different data for same tenure.

In short, data discrepancy among Jmeter Apache Html report & Grafana
dashboard for Min & Max. Screenshots in sequence*
https://imgur.com/a/1oP52Nh * displaying
configurations & data of Dashboards & Jmeter.

Please help me here --- is this a bug with Apache Jmeter Grafana Dashboard
or data understanding difference among Jmeter HTML Report & Grafana
Dashboard ?


Thanks,
Prateek

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Error - Deadlock found when trying to get lock; try restarting

2018-12-17 Thread Prateek Dua
Thank you. Parametrization worked out.

Just a quick question.. How can we change the Priority of execution of http
requests ( apart from drag & drop to change the position) within thread
group ?

On Tue, Dec 11, 2018 at 7:05 PM Prateek Dua  wrote:

> Thanks, I'll try that & let you know.
>
> On Tue, Dec 11, 2018 at 2:34 PM 贾国动 
> wrote:
>
>> Do you parameterize your request?
>> Do not always operate on the same database record.
>>
>>
>> 在 2018/12/10 21:29,“Prateek Dua” 写入:
>>
>> Hi Guys,
>>
>> While hitting a request multiple times via Jmeter,  I'm getting this
>> error
>> message from Application. Had a word with Dev & as per him, its an
>> mysql
>> error .
>>
>> Any idea on how to handle this from Jmeter end or Mysql's end ?
>>
>>
>> *{"status_code":422,"error_code":"","optional_msg":"(1213, u'Deadlock
>> found
>> when trying to get lock; try restarting
>> transaction')","errmsg":"","error":true}*
>>
>>
>> Thanks,
>> Prateek Dua
>>
>> --
>>
>>
>> ::DISCLAIMER::
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>> This message is intended only for the use of the addressee and may
>> contain information that is privileged, confidential and exempt from
>> disclosure under applicable law. If the reader of this message is not
>> the
>> intended recipient, or the employee or agent responsible for
>> delivering the
>> message to the intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this communication is
>> strictly
>> prohibited. If you have received this e-mail in error, please notify
>> us
>> immediately by return e-mail and delete this e-mail and all
>> attachments
>> from your system.
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
>> For additional commands, e-mail: user-h...@jmeter.apache.org
>>
>>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Error - Deadlock found when trying to get lock; try restarting

2018-12-11 Thread Prateek Dua
Thanks, I'll try that & let you know.

On Tue, Dec 11, 2018 at 2:34 PM 贾国动  wrote:

> Do you parameterize your request?
> Do not always operate on the same database record.
>
>
> 在 2018/12/10 21:29,“Prateek Dua” 写入:
>
> Hi Guys,
>
> While hitting a request multiple times via Jmeter,  I'm getting this
> error
> message from Application. Had a word with Dev & as per him, its an
> mysql
> error .
>
> Any idea on how to handle this from Jmeter end or Mysql's end ?
>
>
> *{"status_code":422,"error_code":"","optional_msg":"(1213, u'Deadlock
> found
> when trying to get lock; try restarting
> transaction')","errmsg":"","error":true}*
>
>
> Thanks,
> Prateek Dua
>
> --
>
>
> ::DISCLAIMER::
>
>
>
> 
>
>
>
>
>
> This message is intended only for the use of the addressee and may
> contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not
> the
> intended recipient, or the employee or agent responsible for
> delivering the
> message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is
> strictly
> prohibited. If you have received this e-mail in error, please notify
> us
> immediately by return e-mail and delete this e-mail and all
> attachments
> from your system.
>
>
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Error - Deadlock found when trying to get lock; try restarting

2018-12-10 Thread Prateek Dua
Hi Guys,

While hitting a request multiple times via Jmeter,  I'm getting this error
message from Application. Had a word with Dev & as per him, its an mysql
error .

Any idea on how to handle this from Jmeter end or Mysql's end ?


*{"status_code":422,"error_code":"","optional_msg":"(1213, u'Deadlock found
when trying to get lock; try restarting
transaction')","errmsg":"","error":true}*


Thanks,
Prateek Dua

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Protobuf support

2018-10-09 Thread Prateek Dua
Hi

Is there any way in Jmeter to test api written in Protobuf  ?

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Perfmon Plugin - non gui mode - Not showing CPU Metrics

2018-10-01 Thread Prateek Dua
Hi,

I'm running Perfmon plugin via below command line & at the same time
running  /startAgent.sh i.e.  ./startAgent.sh --udp-port 0 --tcp-port 3450
 .

$settings_path/bin/JMeterPluginsCMD.sh --generate-png
/var/lib/jenkins/workspace/$a6/${run}.png --input-jtl
/var/lib/jenkins/workspace/$a6/${run}.jtl --plugin-type PerfMon --width 800
--height 600

Also I've have configured below properties in jmeter.properties file .

jmeterPlugin.perfmon.interval=1000


jmeterPlugin.perfmon.useUDP= true


jmeterPlugin.perfmon.label.useHostname=true


jmeterPlugin.perfmon.label.useHostname.pattern=([\w\-]+)\..*


jmeterPlugin.perfmon.label.useHostname.pattern=([\w\-]+\.us-(east|west)-[0-9]).*


forcePerfmonFile=true

But Graph which I was expecting for Perfmon Metrics
is
not getting generated. Instead this graph  is
getting generated.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Graph to show individual api Performance - Input Jtl / csv

2018-10-01 Thread Prateek Dua
Hi,

I' m running Jmeter via command line on Aws instance & storing . jtl & csv
files for every run. Jtl file contains Response time of all the apis. Now
I've to plot a graph for every single api to show its comparison with
itself for last few days.  Problem is that  jtl or Csv file includes all
the apis & I've to plot graph for an individual api.

Currently I've to manually segregate from CSV & input every single api to
plot graph.


So is there any alternate way of doing this smartly using any Jmeter Plugin
which can help me out in this..

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: ElasticSearch engine-- Request reached timeout.

2018-09-13 Thread Prateek Dua
basically I'm trying to connect Jmeter (Backend Listner i.e. Elastic Search
client) running on my local host to ElasticSearch Server ( Grafana) running
too on my local instance.

So i did the following steps to check telnet connectivity of both client &
server..

*1.* fetch Jmeter by process id

ps aux | grep java


prateekdua1993   1.1  5.5 12710724 464060 s000  S+6:56PM   0:23.21
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java
-server -XX:+HeapDumpOnOutOfMemoryError -Xms512m -Xmx5120m -XX:+UseG1GC
-XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=20
-Djava.security.egd=file:/dev/urandom -Duser.language=en -Duser.region=EN
-Xms512m -Xmx5120m -Xdock:name=JMeter
-Xdock:icon="./../docs/images/jmeter_square.png"
-Dapple.laf.useScreenMenuBar=true
-Dapple.eawt.quitStrategy=CLOSE_ALL_WINDOWS -jar ./ApacheJMeter.jar

prateekdua2308   0.0  0.0  4267752872 s001  S+6:57PM   0:00.00
grep java


*2.fetch port on which Jmeter client running *


lsof -aPi -p 1993


COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME

java1993 prateekdua  171u  IPv6 0x2eacfe6ceec657df  0t0  TCP
192.168.1.7:49896->jmeter:443 (ESTABLISHED)

3.check telnet connectivity of Jmeter Client via same port fetched from
Step 2 - *Which got failed *

telnet 192.168.1.7 49896

Trying 192.168.1.7...

telnet: connect to address 192.168.1.7: Connection refused

telnet: Unable to connect to remote host


4. check telnet connectivity of Elastic Server ( Grafana board) -- *which
gets connected *


telnet localhost 3000

Trying ::1...

Connected to localhost.

Escape character is '^]'.

So here what should i do in Step 3 to do connectivity of Jmeter -client..




On Mon, Sep 10, 2018 at 10:30 PM, Deepak Shetty  wrote:

> If you are asking in context of your elastic search question then its your
> elastic search server that is runnin on its port and you are connecting to
> it from Jmeter server - the port on the elastic search server (wjhatever
> URL you specified usually 9200) is the one that might be blocked. On the
> client side any open one will probably be used. What you need to check is
> can you connect to the same elasticsearch server:port  (a quick test is run
> telnet elasticsearchserver elasticsearchserverport from the same client
> machine running jmeter and if you get a response , you have connectivity)
>
> On Mon, Sep 10, 2018 at 6:58 AM Prateek Dua 
> wrote:
>
> > Okie..
> >
> >  On which port no Jmeter runs on local machine & how can I change to get
> it
> > run on different port ?
> >
> > On Mon, Sep 10, 2018 at 1:18 AM, Deepak Shetty 
> wrote:
> >
> > > Your error is telling you what the issue is. i.e. a request timeout
> > > a. Either your systems(likely elastic search) genuinely needs more
> time ,
> > > in which case increase timeout (OR your systems are not tuned , in
> which
> > > case tune it)
> > > OR
> > > b. You have a connectivity issue like a firewall (where your requests
> are
> > > hanging as opposed to your server being down in which case you would
> have
> > > gotten an error) - You can quickly test this is not the case by making
> a
> > > request to elasticsearch from the same server where Jmeter is running
> > > In any case this is a custom plugin you are using and hence not
> > appropriate
> > > for this mailing list if you have issues with it
> > >
> > > regards
> > > deepak
> > >
> > > On Sat, Sep 8, 2018 at 11:46 AM Prateek Dua 
> > > wrote:
> > >
> > > > I'm using Elastic Backend Listener in my test plan to view the test
> run
> > > > live results in Jmeter Monitoring Dashboard but getting below error n
> > > > receiving response from ElasticSearch engine from Client side Jmeter.
> > > >
> > > >
> > > > ERROR i.g.d.j.b.e.ElasticSearchMetricSender: ElasticSearch Backend
> > > Listener
> > > > was unable to perform request to the ElasticSearch engine. Request
> > > reached
> > > > timeout.
> > > >
> > > >
> > > > Referred this link
> > > > https://dzone.com/articles/jmeter-elasticsearch-live-monitoring to
> > > > configure the Grifana Monitoring board & Elastic Backend listener
> > > > client side Jmeter
> > > >
> > > > --
> > > >
> > > >
> > > > ::DISCLAIMER::
> > > >
> > > >
> > > >
> > > > 
> > > 
> > > 

Re: ElasticSearch engine-- Request reached timeout.

2018-09-10 Thread Prateek Dua
Okie..

 On which port no Jmeter runs on local machine & how can I change to get it
run on different port ?

On Mon, Sep 10, 2018 at 1:18 AM, Deepak Shetty  wrote:

> Your error is telling you what the issue is. i.e. a request timeout
> a. Either your systems(likely elastic search) genuinely needs more time ,
> in which case increase timeout (OR your systems are not tuned , in which
> case tune it)
> OR
> b. You have a connectivity issue like a firewall (where your requests are
> hanging as opposed to your server being down in which case you would have
> gotten an error) - You can quickly test this is not the case by making a
> request to elasticsearch from the same server where Jmeter is running
> In any case this is a custom plugin you are using and hence not appropriate
> for this mailing list if you have issues with it
>
> regards
> deepak
>
> On Sat, Sep 8, 2018 at 11:46 AM Prateek Dua 
> wrote:
>
> > I'm using Elastic Backend Listener in my test plan to view the test run
> > live results in Jmeter Monitoring Dashboard but getting below error n
> > receiving response from ElasticSearch engine from Client side Jmeter.
> >
> >
> > ERROR i.g.d.j.b.e.ElasticSearchMetricSender: ElasticSearch Backend
> Listener
> > was unable to perform request to the ElasticSearch engine. Request
> reached
> > timeout.
> >
> >
> > Referred this link
> > https://dzone.com/articles/jmeter-elasticsearch-live-monitoring to
> > configure the Grifana Monitoring board & Elastic Backend listener
> > client side Jmeter
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> > 
> 
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


ElasticSearch engine-- Request reached timeout.

2018-09-08 Thread Prateek Dua
I'm using Elastic Backend Listener in my test plan to view the test run
live results in Jmeter Monitoring Dashboard but getting below error n
receiving response from ElasticSearch engine from Client side Jmeter.


ERROR i.g.d.j.b.e.ElasticSearchMetricSender: ElasticSearch Backend Listener
was unable to perform request to the ElasticSearch engine. Request reached
timeout.


Referred this link
https://dzone.com/articles/jmeter-elasticsearch-live-monitoring to
configure the Grifana Monitoring board & Elastic Backend listener
client side Jmeter

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Mail triggering from Aws instance landing in Spam

2018-09-05 Thread Prateek Dua
Yeah right.. exactly the same problem of Smtp .. got added SMTP of comp.
and it worked.  thanks

On Tue, 4 Sep 2018 at 22:58, Deepak Shetty  wrote:

> Hi
> This usually happens if
> a. Your content is similar to spam / your from address/domain is marked as
> a spammy one / someone fl;agged these emails as spam
> b. Your from address isnt supposed to be used with the smtp server in
> question (e.g. you send an email with a from address of some...@gmail.com
> but you are sending it from a different SMTP server )
> c. You are using a mail host to send emails on your behalf but you havent
> configured it correctly - like an SPF record
>
> As such you need to work with whoever manages your emails and this is off
> topic for Jmeter.
>
> regards
> deepak
>
>
> On Mon, Sep 3, 2018 at 8:33 AM Prateek Dua  wrote:
>
> > Hey Guys,
> >
> > A out of the box qus.. would be great if someone helps out..
> >
> > *Problem *Triggering mail from 'mailx'  configured on  Aws instance (
> > Jmeter is configured on same AWS instance) .. but all mails are landing
> in
> > spam of Gmail.
> >
> > Changed  hostname  from
> > *jenk...@ip-10-30-4-21.ap-south-1.compute.internal  to
> >  jenk...@jmeter.job but still spam.  *
> >
> >
> > *Scenario*: To trigger email after running latest Jenkins build &
> comparing
> > with previous build to calculate difference comparison in response time (
> > Aggregate Report) Jmeter..
> >
> > --
> >
> >
> > ::DISCLAIMER::
> >
> >
> >
> >
> 
> >
> >
> >
> >
> >
> > This message is intended only for the use of the addressee and may
> > contain information that is privileged, confidential and exempt from
> > disclosure under applicable law. If the reader of this message is not the
> > intended recipient, or the employee or agent responsible for delivering
> > the
> > message to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited. If you have received this e-mail in error, please notify us
> > immediately by return e-mail and delete this e-mail and all attachments
> > from your system.
> >
>
-- 
sent via device, pls ignore typos.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Mail triggering from Aws instance landing in Spam

2018-09-03 Thread Prateek Dua
Hey Guys,

A out of the box qus.. would be great if someone helps out..

*Problem *Triggering mail from 'mailx'  configured on  Aws instance (
Jmeter is configured on same AWS instance) .. but all mails are landing in
spam of Gmail.

Changed  hostname  from
*jenk...@ip-10-30-4-21.ap-south-1.compute.internal  to
 jenk...@jmeter.job but still spam.  *


*Scenario*: To trigger email after running latest Jenkins build & comparing
with previous build to calculate difference comparison in response time (
Aggregate Report) Jmeter..

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Proxy Recording Error - Postman Client -Mac OS

2018-08-30 Thread Prateek Dua
Hello guys,

I'm trying to record Collection from Postman Client for Mac via Http Proxy
recorder.  But after doing Proxy setting in Network Preferences of Mac
machine & playing Postman Collection to record in Jmeter, I'm getting below
error from Postman Client

There was an error running your collection: read ECONNRESET

Though I have played around playing proxy settings & other settings of
Postman Client but still unable to solve this error.   And with Postman
Chrome Plugin ( deprecated one)  , recording works fine.

*OS: *Mac High Sierra 10.13.6 *; JDK: *java version "1.8.0_91" ; Jmeter 4.0
; Postman Client- osX6.2.5

Please help me out in sorting this error related to Postman Client.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Duration assertion not working

2018-08-30 Thread Prateek Dua
It worked out ,, pls ignore this.


Thanks..

On Thu, Aug 30, 2018 at 1:26 PM, Prateek Dua  wrote:

> Hey Felix,
>
> pls find response to asked qus. *Case --I want to validate my Http
> request against Duration Assertion *
>
> Req 1 takes 7000 ms to get served. I expect Duration Assertion Listener to
> fail the test as defined benchmark of 5000 ms is not met. In my case, req
> is getting passed & Listener is simply displaying request name only.
>
> OS: Mac High Sierra 10.13.6 ; JDK: java version "1.8.0_91" ; Jmeter : 4.0
>
>
>
>
>
>
>
>
>
>
> On Thu, Aug 30, 2018 at 1:26 AM, Felix Schumacher  internetallee.de> wrote:
>
>>
>>
>> Am 29.08.2018 um 15:53 schrieb Prateek Dua:
>>
>>> I have simple added Duration assertion in this hierarchy.. Test Plan ->
>>> Thread group-> Req 1 -> Duration assertion -> Assertion Results -> View
>>> Results Tree. And have configured value for Duration Assertion equal to
>>> 5000 for Main Sample only.
>>>
>>> But on running the test, Duration assertion is not working on request
>>> i.e.
>>> Assertion not validating request per the value set in assertion.
>>>
>>> 'Assertion Results'Listener only shows request name in its output.  While
>>> same thing is working for Size Assertion.
>>>
>> I can't reproduce your problem or understand it not correctly.
>>
>> How long does "Req 1" take? What output do you expect in the listener and
>> what output do you get?
>>
>> And last but not least it is always good to include OS, JDK and JMeter
>> version information.
>>
>> Regards,
>>  Felix
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
>> For additional commands, e-mail: user-h...@jmeter.apache.org
>>
>>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Duration assertion not working

2018-08-30 Thread Prateek Dua
Hey Felix,

pls find response to asked qus. *Case --I want to validate my Http request
against Duration Assertion *

Req 1 takes 7000 ms to get served. I expect Duration Assertion Listener to
fail the test as defined benchmark of 5000 ms is not met. In my case, req
is getting passed & Listener is simply displaying request name only.

OS: Mac High Sierra 10.13.6 ; JDK: java version "1.8.0_91" ; Jmeter : 4.0










On Thu, Aug 30, 2018 at 1:26 AM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
>
> Am 29.08.2018 um 15:53 schrieb Prateek Dua:
>
>> I have simple added Duration assertion in this hierarchy.. Test Plan ->
>> Thread group-> Req 1 -> Duration assertion -> Assertion Results -> View
>> Results Tree. And have configured value for Duration Assertion equal to
>> 5000 for Main Sample only.
>>
>> But on running the test, Duration assertion is not working on request i.e.
>> Assertion not validating request per the value set in assertion.
>>
>> 'Assertion Results'Listener only shows request name in its output.  While
>> same thing is working for Size Assertion.
>>
> I can't reproduce your problem or understand it not correctly.
>
> How long does "Req 1" take? What output do you expect in the listener and
> what output do you get?
>
> And last but not least it is always good to include OS, JDK and JMeter
> version information.
>
> Regards,
>  Felix
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Duration assertion not working

2018-08-29 Thread Prateek Dua
I have simple added Duration assertion in this hierarchy.. Test Plan ->
Thread group-> Req 1 -> Duration assertion -> Assertion Results -> View
Results Tree. And have configured value for Duration Assertion equal to
5000 for Main Sample only.

But on running the test, Duration assertion is not working on request i.e.
Assertion not validating request per the value set in assertion.

'Assertion Results'Listener only shows request name in its output.  While
same thing is working for Size Assertion.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


http request defaults overriding http request post recording

2018-08-24 Thread Prateek Dua
Hi,

Is there any way to override Server ip, protocol in http requests via http
request defaults' details after script has been recorded ?

Scenario: I have recorded a web app & all the requests have ip 10.70.3.63..
And here case is that I have to test same web app against 2 more different
IP 10.70.3.64 & 10.70.3.65 .


So how can I easily handle this scenario ?

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Share Load to specific DB per specific Server IP

2018-08-24 Thread Prateek Dua
Hi,

Is there any way in Jmeter to transfer Load to specific DB as per  Server
IP / hostname defined in Http Request / Http Request defaults  ?

Basically scenario I got to test is to generate load to a specific DB by
hitting Application ( from recorded application flow) directly. Like
Application Server is app.test.com & DB Ip is : 10.30.5.67

So I need that all load from app.test.com should go to 10.30.5.67 directly

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Recording Swagger and Apiary data

2018-08-22 Thread Prateek Dua
hi,

Can we record Api request and response from Apiary and swagger alike we do
for Postman collection via Http Test script recorder ?
-- 
sent via device, pls ignore typos.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Dynamic Value handling Run Time

2018-08-21 Thread Prateek Dua
Hi,

I'm facing problem in recording a web page where a dynamic value while
submitting login request ( Post request) is getting passed along with login
id & password.

Then I used Post Processor ->Regular expression extractor under that http
request to capture that dynamic value & pass it to same Http request as a
variable.

Hierarchy is Request name ->Regular Expression Extractor

But this approach is not working as instead of real value,  variable name
(as value) is getting passed to Http request.

So here is the config detail for it

*1. Post request *: http://www.goibibobusiness.com/accounts/login/  ;  *Dynamic
Parameter*: csrfmiddlewaretoken=Kf43kWkuVWGB36WBTiDJEinv78JU8QkY* ( this
value changing at runtime )  ; *

*2. Regular Expression Extractor : Name of created variable:
**csrfmiddlewaretoken
; Regular Expression: value=”([a-zA-Z0-9]+)“  ; Template= $1$ ; Match No.
(0 for Random)=1*

*3. Variable passed as 'Parameter' in above post request   *
*csrfmiddlewaretoken** =**${csrfmiddlewaretoken}*

*4. Parameter generated for same request at run time ( View Result Tree->
Request) *

POST http://www.goibibobusiness.com/accounts/login/

POST data
csrfmiddlewaretoken=%24%7Bcsrfmiddlewaretoken%7D=a...@mail.com
=password

please help me out here in handling this problem.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: jmeter command stuck - FTP testing

2018-08-20 Thread Prateek Dua
Thanks Guys . it worked. Sharing mode was the hick up :-)

On Mon, Aug 20, 2018 at 11:10 PM, Deepak Shetty  wrote:

> Hi
> > but while running from 15 Linux servers sententiously
> This will run 15 * 225 connections to your server - Is this what you want
> to do ?
> Its likely your server is rejecting connections or timing out - The
> screenshot you have taken is not what is useful - You need a threaddump
> which will likely show you all the JMeter threads are waiting for response
> .
>
> regards
> deepak
>
> On Mon, Aug 20, 2018 at 9:29 AM vijay.raje2...@gmail.com <
> vijay.raje2...@gmail.com> wrote:
>
> > Hi
> > I am using Jmeter to perform FTP load testing on Azure using csv file.
> > Total hitting threads : 225 from one server
> > Total no of connections from server to FTP : 450 (upload + download)
> >
> > I am getting success message if I am running jemeter command from one
> > machine. but while running from 15 Linux servers sententiously , some of
> > them are getting stuck on below screen.
> > 
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: JDBC Request - all queries not getting executed for User 1 & User 2

2018-08-20 Thread Prateek Dua
Hey Felix,

Yes by default "Max Number of Connections" to "0". Let me explain my Config
& test plan hierarchy..  Under Thread group  ->  CSV Data Set config, Jdbc
request & View Results Tree components are added as per mentioned order.

*1. Thread group* : No of threads: 2  ; Ramp up time : 1 Sec ; Loop count
:2

*2. CSV Data Set Config *- *Filename*: changelog_mysql.sql ; *Variable name*:
conn ;* ignore first line:*false ; *Allow quoted data*: false ; *Recycle on
EOF:* True;  *Stop thread on  Eof *; *sharing mode*: All threads

*3. **Jdbc request - Query* *: *${conn} ; *Handle Resultset* : Store as
String

*4*. *JDBC config *:*Connection Pool Configuration : Max no of connections*:
0 ; *Transaction isolation* : default & rest of settings of this config are
kept same as by default.


So problem statement is  --- query#1 is getting executed twice for User 1 &
query#2( next query ) is getting twice executed for User 2.

*But what I want is that --query #1 & query#2 should get executed for User
1 & User 2*



On Mon, Aug 20, 2018 at 5:19 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
>
> Am 20.08.2018 um 12:23 schrieb Prateek Dua:
>
>> Hi,
>>
>> I'm trying to execute DB queries ( input via CSV Config file) for
>> multiple Users. But problem is that for every user , query is getting
>> executed as per single row i.e. row 1 query is getting executed for User
>> 1;  row 2  query is getting executed for User 2 ..
>>
>> What I needed is that row 1 query & row 2 query should get execute for
>> both User 1 & User 2.   please find attached screenshots of  Test Plan.
>>
> Screenshots get regularly removed by the mailing list, so we can't see
> your screenshot. Try to describe what you see by text, only.
>
> Have you tried to set "Max Number of Connections" to "0"? See
> http://jmeter.apache.org/usermanual/component_reference.
> html#JDBC_Connection_Configuration for more information about the
> possible values of that field.
>
> Regards,
>  Felix
>
>
>>
>>
>>
>>
>> ::DISCLAIMER::
>>
>> 
>> 
>> 
>>
>>
>> This message is intended only for the use of the addressee and may
>> contain information that is privileged, confidential and exempt from
>> disclosure under applicable law. If the reader of this message is not the
>> intended recipient, or the employee or agent responsible for delivering the
>> message to the intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this communication is strictly
>> prohibited. If you have received this e-mail in error, please notify us
>> immediately by return e-mail and delete this e-mail and all attachments
>> from your system.
>>
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
>> For additional commands, e-mail: user-h...@jmeter.apache.org
>>
>
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


JDBC Request - all queries not getting executed for User 1 & User 2

2018-08-20 Thread Prateek Dua
Hi,

I'm trying to execute DB queries ( input via CSV Config file) for multiple
Users. But problem is that for every user , query is getting executed as
per single row i.e. row 1 query is getting executed for User 1;  row 2
query is getting executed for User 2 ..

What I needed is that row 1 query & row 2 query should get execute for both
User 1 & User 2.   please find attached screenshots of  Test Plan.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.

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

Re: JDBC request - Single Query running as segregated

2018-08-06 Thread Prateek Dua
Here is the structure of my test plan

On Sun, Aug 5, 2018 at 12:43 AM, Prateek Dua  wrote:

> Hi,
>
> I'm giving below Single SQl query via JDBC but its giving output by taking
> every column as a separate sql query.. please find attached below JDBC pool
> , JDBC request settings & response.
>
>
> SELECT `flight_seat`.`id`, `flight_seat`.`paymentid_id`,
> `flight_seat`.`bookingid`, `flight_seat`.`sector`,
> `flight_seat`.`traveldate`, `flight_seat`
> .`airlinepnr`, `flight_seat`.`seatno`, `flight_seat`.`seatfee`,
> `flight_seat`.`passengername`, `flight_seat`.`paymentstatus`,
> `flight_seat`.`airlinec
> heckinstatus`, `flight_seat`.`optedcheckin`,
> `flight_seat`.`checkinstatus`, `flight_seat`.`pdfurl`,
> `flight_seat`.`notificationsent`, `flight_seat`.`
> createdon`, `flight_seat`.`modifiedon`, `flight_seat`.`modifiedBy`,
> `flight_seat`.`comments` FROM `flight_seat` WHERE `flight_seat`.`bookingid`
> = 'M6
> EEL1MVE' LIMIT 1;
>
>
> please help me in getting it solved.
>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.

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

JDBC request - Single Query running as segregated

2018-08-04 Thread Prateek Dua
Hi,

I'm giving below Single SQl query via JDBC but its giving output by taking
every column as a separate sql query.. please find attached below JDBC pool
, JDBC request settings & response.


SELECT `flight_seat`.`id`, `flight_seat`.`paymentid_id`,
`flight_seat`.`bookingid`, `flight_seat`.`sector`,
`flight_seat`.`traveldate`, `flight_seat`
.`airlinepnr`, `flight_seat`.`seatno`, `flight_seat`.`seatfee`,
`flight_seat`.`passengername`, `flight_seat`.`paymentstatus`,
`flight_seat`.`airlinec
heckinstatus`, `flight_seat`.`optedcheckin`, `flight_seat`.`checkinstatus`,
`flight_seat`.`pdfurl`, `flight_seat`.`notificationsent`, `flight_seat`.`
createdon`, `flight_seat`.`modifiedon`, `flight_seat`.`modifiedBy`,
`flight_seat`.`comments` FROM `flight_seat` WHERE `flight_seat`.`bookingid`
= 'M6
EEL1MVE' LIMIT 1;


please help me in getting it solved.

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.

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

Re: Passing response to Jmeter directly ( No .jmx needed)

2018-07-06 Thread Prateek Dua
hey Felix,

please find my comments inline

1. lets take one repo for ex - abc company code base.
>
You mean a code repository in something like git or subversion where your
developers commit their code to?
I guess this is the code for one product that you want to get
load/stress/functional tested, right?

< Prateek - Yes a code repo of git & from this we want their Api to get
load tested >


> 2. Dev Integration suite run automatically moment developer commit code in
> the git repo with the help of hooks.
>
Is this done by some "standard" tool like jenkins?

< Prateek - Yes .. Webhooks sync with Jenkins >


3. *In continuation - we want our Jmeter suite trigger automatically based
> on request/response received from the API integration suite via proxy. *
>
This is the point that I don't get at all. Which API integration and what
proxy is meant here? How do they work together and to what JMeter suite do
you refer? Try to explain this step a bit more.

4. Captured API response shall get executed for set performance test
> scenario via Jmeter.
>
Who or what captures the API calls?

< Prateek - Dev Integration Suite ( Api) as stated in above Step 2. By
Proxy we meant proxy set at Application ( System) level that will capture
request & response of Api.
   Further we want captured requests by Proxy to send to Jmeter directly &
then instruct Jmeter to run test on these requests.















On Thu, Jul 5, 2018 at 7:58 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

>
>
> Am 04.07.2018 um 15:40 schrieb Prateek Dua:
>
>> Hey Guys,
>>
>> Need your help in automating Jmeter performance suite in integration with
>> the code directly *i.e. reading request & directly passing response to
>> Jmeter without reading from .jmx file.*
>>
> I don't understand, what you want, so I place a few questions below in the
> hope, that the answers you give to those will make your plans clearer (to
> me).
>
>
>> 1. lets take one repo for ex - abc company code base.
>>
> You mean a code repository in something like git or subversion where your
> developers commit their code to?
> I guess this is the code for one product that you want to get
> load/stress/functional tested, right?
>
>
>> 2. Dev Integration suite run automatically moment developer commit code in
>> the git repo with the help of hooks.
>>
> Is this done by some "standard" tool like jenkins?
>
>>
>> 3. *In continuation - we want our Jmeter suite trigger automatically based
>> on request/response received from the API integration suite via proxy. *
>>
> This is the point that I don't get at all. Which API integration and what
> proxy is meant here? How do they work together and to what JMeter suite do
> you refer? Try to explain this step a bit more.
>
>
>> 4. Captured API response shall get executed for set performance test
>> scenario via Jmeter.
>>
> Who or what captures the API calls?
>
> Felix
>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>


-- 
Prateek Dua | Manager - QA
prateek@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Passing response to Jmeter directly ( No .jmx needed)

2018-07-04 Thread Prateek Dua
Hey Guys,

Need your help in automating Jmeter performance suite in integration with
the code directly *i.e. reading request & directly passing response to
Jmeter without reading from .jmx file.*

1. lets take one repo for ex - abc company code base.

2. Dev Integration suite run automatically moment developer commit code in
the git repo with the help of hooks.

3. *In continuation - we want our Jmeter suite trigger automatically based
on request/response received from the API integration suite via proxy. *

4. Captured API response shall get executed for set performance test
scenario via Jmeter.


-- 
Prateek Dua | Manager - QA
prateek@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Re: Avg field not visible in .jtl file < Urgent pls >

2018-06-25 Thread Prateek Dua
Thanks Guys,

I did the same last week using below cmd line plugin Aggregate report to
get CSV of it.

$settings_path/bin/JMeterPluginsCMD.sh --generate-csv
/var/lib/jenkins/workspace/ugc/${run}.csv --input-jtl
/var/lib/jenkins/workspace/ugc/${run}.jtl --plugin-type AggregateReport


On Mon, Jun 25, 2018 at 11:17 AM, glin...@live.com  wrote:

> You will not find average value as it is being *calculated*, it is
> basically
> an  arithmetic mean <https://en.wikipedia.org/wiki/Arithmetic_mean>   of
> the
> response times (sum of all responses times divided by their count)
>
> You can get it from the .jtl results file either by applying above formula
> or using  JMeterPluginsCMD Command Line Tool
> <https://jmeter-plugins.org/wiki/JMeterPluginsCMD/>   which is capable of
> generating CSV version of the  Aggregate Report
> <http://jmeter.apache.org/usermanual/component_reference.html#Aggregate_
> Report>
> from the .jtl results file.
>
> There is also  Merge Results <https://jmeter-plugins.org/
> wiki/MergeResults/>
> tool which can be used for 2 test runs comparison which can be invoked from
> the JMeterPluginsCMD Command Line Tool as well.
>
> Both the tools can be installed using  JMeter Plugins Manager
> <https://www.blazemeter.com/blog/how-install-jmeter-plugins-manager>
>
>
>
> --
> 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
>
>


-- 
Prateek Dua | Manager - QA
prateek@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.


Avg field not visible in .jtl file < Urgent pls >

2018-06-21 Thread Prateek Dua
Hi,

We are running Jmeter 4.0 in non gui mode via shell script configured in
Jenkins. We have to capture response time of single api running multiple
times as an cumulative Avg. in jtl file. But .jtl file is not displaying
Avg field. However Jmeter Dashboard report shows it. Screenshots I have
attached of jtl file & Jmeter Dashboard report

Reason I'm asking to display Avg field  in jtl file is because we want to
compare & calculate difference in response time of an api ( ran multiple
times) in Run 1 of .jtl file with same api in Run 2 of jtl file.

Please let me know how to display Avg. field in jtl file OR is there any
way via which we can compare & calculate Avg response time of 2 Jmeter
Dashboard reports.

-- 
Prateek Dua | Manager - QA
prateek@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.

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

Jmeter GUI on Amazon Linux AMI

2018-05-20 Thread Prateek Dua
Hi,

We have Jmeter Set up & running as non gui mode on Amazon Linux AMI.

Is there any way possible to open Jmeter in GUI mode on same instance or
any other Centos based machine ?





-- 
Prateek Dua | Manager - QA
prateek@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

-- 


::DISCLAIMER::








This message is intended only for the use of the addressee and may 
contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this e-mail in error, please notify us 
immediately by return e-mail and delete this e-mail and all attachments 
from your system.