jmeter-plugins

JMeter and WebDriver Set - do not work

谁都会走 提交于 2019-12-22 04:18:22
问题 I've encountered problems with starting JMeter and WebDriver Set. I set - as in http://jmeter-plugins.org/wiki/WebDriverTutorial/ - Thread Group with: jp@gc FF Driver Config jp@gc Web Driver Sampler View Results in Table In Web Driver Sampler I have following lines: WDS.sampleResult.sampleStart() WDS.browser.get('http://google.com') WDS.sampleResult.sampleEnd() And I get following error: ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: Could not initialize

javax.net.ssl.SSLException in jMeter

为君一笑 提交于 2019-12-20 04:53:33
问题 I am testing some functionality on server. It was working fine till yesterday. Today they have enabled ssl to server (i.e, From http to https). Now when I am running my test plans I'm getting the following error. How can I resolve this issue. Though I am changing the protocol value to https in my request I'm getting the following error, javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

javax.net.ssl.SSLException in jMeter

久未见 提交于 2019-12-20 04:53:06
问题 I am testing some functionality on server. It was working fine till yesterday. Today they have enabled ssl to server (i.e, From http to https). Now when I am running my test plans I'm getting the following error. How can I resolve this issue. Though I am changing the protocol value to https in my request I'm getting the following error, javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

JMeter - submit JMeter function inside a script (JSR223 element)

雨燕双飞 提交于 2019-12-19 11:05:12
问题 Functions are very useful for writing a functional script and also helpful without writing real code. Currently I can execute functions in most of Test Plan except in Script of JSR223 Sampler for example. Is there a way to enable JMeter function inside JSR223/Beanshell script? For example ${__log(Message)} or ${__Random(0,10)} If the call for variable as ${..} is an issue, is there a workaround for calling a function? Maybe there will be a problem calling groovy function inside groovy script,

How to make load testing for web application that based on Webrtc [closed]

落爺英雄遲暮 提交于 2019-12-17 19:49:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Im trying to make load testing for web application that based on Webrtc, does someone knows with whitch tool can I test that application. also I`d like to know if i can use Jmeter and if so , how can i use it ? thanks a head 回答1: When it comes to load testing, WebRTC is different. And that's because WebRTC is

Adding / at the start and end of the asserted string in Response Assertion in JMeter

心不动则不痛 提交于 2019-12-14 03:20:38
问题 Assert given value: "action":"GET /api/invoice_status","description":"[NO_AUTH] get invoice statuses" Assertion failure message: Test failed: text expected to contain /"action":"GET /api/invoice_status","description":"[NO_AUTH] get invoice statuses"/ 回答1: It is adding / slashes just to represent properly but it's not an issue. Cross verify your response after running the script, there might be some difference in the response and the text which you are passing in assertion. Also, there is no

How to set and get environment variables in Jmeter to test API's

半腔热情 提交于 2019-12-13 15:12:50
问题 I need to set and get variables in Jmeter for API automation. I am using the groovy script for same. I have achieved same using code as below: import org.apache.jmeter.util.JMeterUtils; JMeterUtils.setProperty("PC_CREATED_PROMO_CODE", "shubhamvalue"); log.info("will it work? ="+JMeterUtils.getProperty("PC_CREATED_PROMO_CODE")) Now the problem is I am not able to see the value in any contanier where I can set my hardcode values like token, baseURL, Headers. it should be similar we do in SOAP

JMeter throws java.lang.NoSuchMethodError: org.apache.jmeter.samplers.SampleSaveConfiguration.setFormatter(Ljava/text/DateFormat;)

≯℡__Kan透↙ 提交于 2019-12-13 07:52:12
问题 2017-09-29 12:39:56,306 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2017-09-29 12:39:56,307 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2017-09-29 12:39:56,312 ERROR o.a.j.JMeter: Uncaught exception: java.lang.NoSuchMethodError: org.apache.jmeter.samplers.SampleSaveConfiguration.setFormatter(Ljava/text/DateFormat;) at kg.apc.jmeter.JMeterPluginsUtils.doBestCSVSetup(JMeterPluginsUtils.java:256) ~[jmeter-plugins-cmn-jmeter-0.3.jar:?] at kg.apc.jmeter.perfmon.PerfMonCollector

Delays for each thread in Ultimate Thread Group

若如初见. 提交于 2019-12-13 05:23:08
问题 I have thread group of 10 threads. And I see that all 10 threads start at the same time, therefore create unlikely huge load for first web request at the same time. I want to randomize start times somehow. For example, add 5 seconds delay between thread starts: first thread starts, then 5 sec delay, then second thread starts, etc. Is it possible with Ultimate Thread Group plug-in? 回答1: Why not add Uniform_Random_Timer jmeter.apache.org/usermanual/… as the child of first sampler in the thread

JMeter: Result/Report Emailing?

我怕爱的太早我们不能终老 提交于 2019-12-13 04:49:53
问题 I am trying to get JMeter to email me the results after it runs a test plan which is intended to be run daily with success or fail and the test cases. In the documentation it state "JMeter has extensive Email capabilities. It can send email based on test results"[1], But I cant find anything. After some research there is possibility popping up in writing a script in bean script(but grabbing the actual results is difficult again) to email or running a batch file on a cron. The Question: Is