OK, so no random data creation, everything comes out of the CSV. What are your
settings in the CSV data set object?
Also, have you had a look at the slave jmeter logs to see if anything is
complaining in there? Once again, dependant on how you start the slaves, I
would expect them to be in {jmeterfolder}\bin\jmeter.log but you can stipulate
this by adding:
-j <absolute file path of where you want the log file>
to the command line when you start the slave.
-----Original Message-----
From: Anil Gaur [mailto:[email protected]]
Sent: 30 August 2017 11:57
To: JMeter Users List <[email protected]>
Subject: Re: Need Help
Master and Slave both are on Windows 2012 R4 server.
I am using CSV for data @ run time. I don't see any random or other setting in
CSV data set configuration. Is that in property file?
________________________________
From: Stuart Kenworthy <[email protected]>
Sent: Wednesday, August 30, 2017 10:46 AM
To: JMeter Users List
Subject: RE: Need Help
So the problem is not consistent across all runs when in distributed mode.
Is the problem always occurring on some slaves and not on others? Also, does
run length increase the likelihood of 0 being used?
Also what OS are you running your mast and slaves on?
How are you choosing your data at run time?
CSV...
What are the settings of your CSV data set if being used? This is unlikely if
you have not changed your data or script, I expect you are using a random and
it decided it's had enough of the randomness.
Random...
Could you be using anything that generates a random? Daft as it sounds, I had
problems with jmeter and random, well actually the java object it uses to
create a random, in distributed mode and had to find other ways around it. If
so how are you using it? There is a bug in some versions of java that causes
entropy in random and it eventually returns 0 always. Jmeter has even changed
the way random is created in some controllers dependant on which version you
are running.
Problems with random can be caused by resource contention dependant on the
implementation, for example on lunix where /dev/random is being read by
multiple threads and either no being available or the result not having any
readable characters.
I cannot remember it very well and I am no longer working on that project, but
I think what I did was in each thread create a random 256byte readable string
then cut it up each time it was read. This meant random was being read a lot
less and threads would wait until all 256 bytes were available before trying to
use it, had little impact on run speed.
As with you, things went very well for a while then stopped working. It was
some time ago so may need to play around with my solution.
Here is my groups discussion when it happened.
https://groups.google.com/forum/#!topic/ptgram24/tOXD2pCu9vQ
Thanks
-----Original Message-----
From: Anil Gaur [mailto:[email protected]]
Sent: 30 August 2017 11:14
To: JMeter Users List <[email protected]>
Subject: Re: Need Help
Yes, Nothing has been changed. Some times the data is properly inserted and
majority if data is "0" which is inserted.
________________________________
From: Stuart Kenworthy <[email protected]>
Sent: Wednesday, August 30, 2017 10:12 AM
To: JMeter Users List
Subject: RE: Need Help
Interesting, and nothing has changed on the master or slave?
-----Original Message-----
From: Anil Gaur [mailto:[email protected]]
Sent: 30 August 2017 11:12
To: JMeter Users List <[email protected]>
Subject: Re: Need Help
Yes, All data file are placed on Master and slave with proper path for data
files. I am doing Master-Slave(Distributed) execution for the same script from
last 40 days(Same Master-Slave config) but i don't got any issue. But from last
2 days this issue is occurring.
________________________________
From: Stuart Kenworthy <[email protected]>
Sent: Wednesday, August 30, 2017 10:00 AM
To: JMeter Users List
Subject: RE: Need Help
Are all your data files in the same location on both master and slave? In
distributed load, only the script file itself is sent, any fragments, external
scripts, data, anything not in the original jmx must also be in the same place
on the slave. This allows for host specific data, external tools and such to be
used.
If using relative file paths, it starts from where the slave service is
executed which should be the jmeter bin directory, but could be different
dependant on how you start jmeter.
Thanks
-----Original Message-----
From: Anil Gaur [mailto:[email protected]]
Sent: 30 August 2017 10:55
To: [email protected]
Subject: Need Help
Hi ,
I am getting below error on Distributed Testing with Jmeter.
While Executing only Master System
I have created and validated the script and found that all entries are
inserted in DB properly using the script. But this is only working while I am
validating my script on master system.
I have executed the same script with 50 users on master system and found all
the data inserted properly in DB.
While Executing with Master-Slave(Distributed Testing)
While doing the execution with master and slave then "0" values are inserted on
Patient and Case id. Rest all the data inserted properly.
For the same issue i have verified the request and found that in request its
taking "0" values from the correlation.But while same script is running with
Master only then all data is inserted properly.
Anyone have idea about this issue.
Regards
Anil Gaur
The information included in this email and any files transmitted with it may
contain information that is confidential and it must not be used by, or its
contents or attachments copied or disclosed to, persons other than the intended
addressee. If you have received this email in error, please notify BJSS. In the
absence of written agreement to the contrary BJSS' relevant standard terms of
contract for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this email. BJSS
does not accept responsibility for any adverse effect upon your system or data
in relation to this email or any files transmitted with it. BJSS Limited, a
company registered in England and Wales (Company Number 2777575), VAT
Registration Number 613295452, Registered Office Address, First Floor, Coronet
House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
The information included in this email and any files transmitted with it may
contain information that is confidential and it must not be used by, or its
contents or attachments copied or disclosed to, persons other than the intended
addressee. If you have received this email in error, please notify BJSS. In the
absence of written agreement to the contrary BJSS' relevant standard terms of
contract for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this email. BJSS
does not accept responsibility for any adverse effect upon your system or data
in relation to this email or any files transmitted with it. BJSS Limited, a
company registered in England and Wales (Company Number 2777575), VAT
Registration Number 613295452, Registered Office Address, First Floor, Coronet
House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
The information included in this email and any files transmitted with it may
contain information that is confidential and it must not be used by, or its
contents or attachments copied or disclosed to, persons other than the intended
addressee. If you have received this email in error, please notify BJSS. In the
absence of written agreement to the contrary BJSS' relevant standard terms of
contract for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this email. BJSS
does not accept responsibility for any adverse effect upon your system or data
in relation to this email or any files transmitted with it. BJSS Limited, a
company registered in England and Wales (Company Number 2777575), VAT
Registration Number 613295452, Registered Office Address, First Floor, Coronet
House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
The information included in this email and any files transmitted with it may
contain information that is confidential and it must not be used by, or its
contents or attachments copied or disclosed to, persons other than the intended
addressee. If you have received this email in error, please notify BJSS. In the
absence of written agreement to the contrary BJSS' relevant standard terms of
contract for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this email. BJSS
does not accept responsibility for any adverse effect upon your system or data
in relation to this email or any files transmitted with it. BJSS Limited, a
company registered in England and Wales (Company Number 2777575), VAT
Registration Number 613295452, Registered Office Address, First Floor, Coronet
House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]