Questions tagged [ruby-jmeter]

A Ruby based DSL for building JMeter test plans

This gem lets you write test plans for JMeter in your favourite text editor:

33 questions
3
votes
1 answer

Application uploads image successfully without Jmeter, but fails to upload image when recorded under Jmeter

Step 1: Login to application and upload an image for Admin profile. Application uploads image successfully without been recorded in Jmeter. Step 2 : Start Jmeter, add a thread group. Step 3 : Add HTTP(S) test script recorder, go to HTTP…
Vishal
  • 147
  • 4
  • 16
1
vote
1 answer

Unable to use uploaded .csv data under Jmeter getting error message

I am learning Jmeter use id=2172797 appid=b6907d289e10d714a6e88b30761fae22 and now Unable to read data from uploaded .csv file getting error message like ; Response code: Non HTTP response code: java.net.URISyntaxException under Jmeter. Added screen…
1
vote
1 answer

JMeter - Hitting specific endpoints based on user credentials via multiple CSV files

My JMeter test: Iterate over a CSV file (logins.csv) with login credentials, and their unique identifier user a CsvDataSetConfig Sign in Based on the login credentials (unique identifier from logins.csv), identify and load a second file in the…
1
vote
1 answer

Getting error with JMeter 3.2 CookieHandler: Unable to add the cookie error

I have currently Jmeter 3.2 installed on my Mac (macOS Sierra). Now I want to install 3.1 because of the jmeter ERROR o.a.j.p.h.c.HC4 CookieHandler: Unable to add the cookie error. How can I install an older version via home brew. I did brew install…
JohnSmith
  • 1,078
  • 1
  • 10
  • 21
1
vote
2 answers

Sending one request continuously after 5 sec

My thread group is having 5 http samples requests which are running single times each. After that I want to send a single http sample request after every 5 seconds which is running after the above 4 samples. Please suggest
iftkhar
  • 11
  • 3
1
vote
1 answer

RubyJmeter : listeners configuration?

I'm using ruby-jmeter to perform load tests on my rails API. I wrote a simple test like this : test do threads count: 1, loops: 50 do transaction name: 'My API' do visit name: 'Products', url: "#{BASE_URI}/api/products" end end …
Antek
  • 1,167
  • 3
  • 10
  • 18
1
vote
1 answer

ruby-jmeter script - using the extract regex: option and variable value

Iam using the ruby-jmeter gem to write DSL scripts for doing performance tests automation.. I find this pretty useful to navigate to my API URLs, post data, assert for expected result and generate performance trends reports.. Iam getting stuck…
0
votes
1 answer

How to write jmeter test to submit a form within website (Jmeter, ruby -jmeter)

I am writing a load test for my application. I would like to simulate the following steps: login visit several pages submit a form within the website I first wrote the login and visit several pages and run them successfully (no errors). When I…
sa0irxe
  • 29
  • 4
0
votes
1 answer

Is there a way to set jmeter properties when using ruby-jmeter

Is there a way to set jmeter properties when using ruby-jmeter We are building a performace testplan using ruby-jmeter. Our graphs show granularity as 1 min. We want to reduce the granularity to 1000ms. Is there a way to set this up in ruby-jmeter?
0
votes
1 answer

Is there a way to send unique value for each thread run using ruby-jmeter

I am writing a load test where in a post request i need to send a value that has unique id in the payload for each request. We are using ruby-jmeter for performance testing. I see a lot of documents suggesting for jmeter but no mention of how to…
0
votes
1 answer

Error while installing ruby jmeter script

Im tying to install a jmeter script bases on steps @ https://github.com/flood-io/ruby-jmeter Its a windows PC with ruby and ruby-jmeter installed $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'ruby-jmeter' test do …
Banjo
  • 91
  • 2
  • 9
0
votes
1 answer

How can I execute same scenario or feature 10 times concurrently in multiple browser to check the performance of website

I have a requirement for the performance of webpage, example : I have a logging page need to run 10 concurrent execution with different users to test the performance of that page. I have gone through ruby-jmeter gem but It opened only one browser,…
RK . N
  • 308
  • 1
  • 2
  • 9
0
votes
2 answers

How to extract/share some common logic/sampler etc from many jmeter jmx files?

If there are many jmeter scripts(jmx files) in a stress project for different cases run, how to maintain the common jmeter code which can be shared by each jmx? For example, many jmx files have same thread group, http sampler, config elements…
0
votes
1 answer

Bean shell post processor ,which compares two csv files and writes differences to third file

I am new to jmeter, I want to compare the two csv files ( one which have standard output and other latest test run results file), if there is any difference then it should write the difference to another file. I want to do this in bean shell…
abc
  • 1
  • 1
  • 3
0
votes
1 answer

Jmeter engine & threads query

What is Jmeter Engine ? Is it same as Jmeter instance we have on our machine ? .. I want to understand difference between Jmeter instance and Jmeter engine , also how can we setup multiple engines on same machine so that I can put more load on…
Jags
  • 111
  • 2
  • 7
1
2 3