All Questions
Tagged with beanshell performance
20 questions
0
votes
1
answer
41
views
How to use all captured dynamic values in next request
I have 2 requests Claims and update claims, for a user if I get 5 claims I need to run all the claims in the next request submitting all the claim values.
Claims=234,456,789,876,987
The above values ...
1
vote
1
answer
619
views
How to add timer in jmeter script, which we can start at first call, poll the status & stop once the first request is completed & add assertions
I am doing load testing on generating report and the requirement is like the report should get generated within 10mins.
It includes one HTTP post request for report generation, and then there is a ...
0
votes
2
answers
670
views
In Jmeter variable value is getting overridden with next thread value
I´m working on a JMeter testplan which is meant to preformance-test a webservice. The main part of the whole testplan consists of two steps.
Create one of these asset ID (via Post-request) - ...
0
votes
1
answer
847
views
Share hash map between thread in jmeter with beanshell scripting
J meter script contain two thread. Thread 01 is a setup thread and it loop 'n' times before executing thread 2 which is the test.
I have implemented two beanshell processors in both threads and ...
1
vote
1
answer
56
views
JMeter4.0 - Sampler Request Plugin Doesn't Take the updated counter value
I really need your help.
In JMeter 4.0 in my JMX script, I tried to create and increase counter variable and I do that with the BeanShell Sampler before the sampler in while loop. The problem that ...
0
votes
2
answers
473
views
Executing shell script containing java -jar Runtime.exec(), which java will it take, OS level or application level
I am trying to execute a java jar from my jmeter tests via beanshell.
The approach I followed is to create a shell script, execute it through beanshell using Runtime.exec() function.
The question I ...
1
vote
1
answer
842
views
JMeter using a passed in parameter to control thread groups
I have a JMeter test scenario that consists of multiple thread groups. I am controlling the scenario using command line parameters to pass in workload, thread count etc. The thread groups are always a ...
4
votes
1
answer
1k
views
Great difference in Time Execution Groovy vs Beanshell
I'm interpreting a same script in both Groovy and Beanshell.
Groovy takes a very long time(26 mins 25 secs), while Beanshell takes only 20 secs.
I'm very astonished by the difference and I don't ...
0
votes
1
answer
739
views
Jmeter - wait for a specific response and collect total response time
our application is testing file upload and I'm curious if I can make Jmeter wait for a specific response and then report collective time.
What I have now is:
whileLoop()
-- HTTP Sampler
-- JSON ...
2
votes
1
answer
1k
views
JMeter - How to loop through "bsh.shared" ArrayList in a single Thread Group?
I have a BeanShell PostProcessor under the setUp Thread Group.
I put the ArrayList into the "bsh.shared" namespace like:
List personIdsList = new ArrayList();
...
bsh.shared.personIds = ...
-3
votes
1
answer
778
views
JMeter Response data submit to continue for next actions
I came across some problem in Jmeetere if you guys have some advice please shave with me. I send request for my application, and i click after the link open, in Response data i got Script is disabled....
0
votes
1
answer
326
views
Mail Reader Sampler connection error
I got an error during execution of Mail Reader sampler. I also tried IMAP but still got the error, any solutions, please ?
Thread Name: Thread Group 1-1
Sample Start: 2017-06-02 12:20:45 EDT
...
-2
votes
1
answer
1k
views
jmeter stress/break point performance test using constant throughput timer
IN JMETER ,
How can we change the constant throughput timer value Using a ( JavaScript or Bean Shell) function ?
Say for example, test duration is 60 mins . constant throughput timer initially set to ...
0
votes
1
answer
195
views
Jmeter Regular expression for an output
I am getting an output like
Plain response:
ticket_tax_dtls_id tax_code tax_amount_remitted tax_amount_proposed tax_amount_applicable
667894 CN 140.0 null 140.0
667895 US 232.0 ...
0
votes
0
answers
714
views
How to save start time of all the individual samples in my jmeter test and use that in JSR223 Listener
Im using influxfb to save the result of my jmeter test.
bellow is the part of code in JSR223 Listener where im in need of your help.
result = new StringBuilder();
result.append("Thro_5,")
....