How do threads and number of iterations impact test and what is JMeter’s max. thread limit

The max number of threads is determined by a lot of factors, see this answer https://stackoverflow.com/a/11922239/460802 There is a big difference in what you are proposing. “500 threads, Loop 1 ” Means 500 threads AT THE SAME TIME doing the loop ONCE. “50 threads, loop 10” Means only 50 threads AT THE SAME TIME doing … Read more

JMeter – Changing user defined variables from command line

Well, with -J argument you are setting PROPERTY, and in User Defined Variables config – VARIABLE. It will define two different entities, although having the same name, they will have different values. In your situation you can do the following. Set jmeter property value in command-line as above in your question …-Jtestproperty=202 In UDV config … Read more

JMeter upload file with relative path from the jmx file

Yes. (This was confirmed in JMeter v2.9) You can use the following BeanShell expression in the filename input field: ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)}<YOUR FILENAME HERE> So if your file, “upload.jpg” was located in the same folder as your JMX test file, the complete value would be ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)}upload.jpg To keep it a bit cleaner, add … Read more

Jmeter – get current date and time

Use __time function: ${__time(dd/MM/yyyy,)} ${__time(hh:mm a,)} Since JMeter 3.3, there are two new functions that let you compute a time: __timeShift “The timeShift function returns a date in the given format with the specified amount of seconds, minutes, hours, days or months added” and __RandomDate “The RandomDate function returns a random date that lies between … Read more

multiple user logins in jmeter

I just implemented this using jmeter for an app that uses Spring Security (It would be very similar to PHP). This is fairly straightforward, basically: 1) Create a new CSV file using a text editor Ex: CSVSample_user.csv username1, password1 username2, password2 2) In jmeter, create a CSV Data Set Config element Thread Group>add>Config Element>CSV Data … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)