torebk.blogg.se

Apache jmeter tutorials
Apache jmeter tutorials







apache jmeter tutorials

  • Current thread group - the file will be opened once for each thread group.
  • All threads - the file is shared between all virtual users (the default).
  • apache jmeter tutorials

  • Stop thread on EOF? - false in case of loop iteration over the CDC file and true if you want to stop the thread after reading the whole file.
  • It will instruct JMeter to move the cursor at the beginning of the file
  • Recycle on EOF? - true in case the file test plan should iterate over the file more than once.
  • Allow quoted data? - true in case you want to ignore double quotes and allow such elements to contain a delimiter.
  • Delimiter - delimiter that will be used to split the parsed values from the input file.
  • If empty, the first line of the file will be interpreted as the list of variable names
  • Variable Names - list of separated variable names that will be used as a container for parsed values.
  • File Encoding - encoding of input file, if it’s not the platform default.
  • Relative file names are resolved based on the path of the active test plan.
  • Name - element name as it will be used in the JMeter tree.
  • Right click on login request -> Add -> Config Element -> CSV Data Set ConfigĪ short explanation of ‘CSV Data Set Config’ parameters: We can easily parametrize that request by using an external CSV file and running the script across different users.

    apache jmeter tutorials

    Let’s assume that we have a login request that works for one specific user: If you want to test your application across different users, you need to provide a list of user credentials. The best example of CSV input files usage is a login process. One of the common ways to parametrize your performance scripts is to use a CSV file. This makes it one of the main aspects in performance tests creation. Parameterization is the creation of different data sets for different users in the same test script.įor example, running multiple users with different credentials in the same script.









    Apache jmeter tutorials