how to insert unique record using JMeter distributed testing

Questions : how to insert unique record using JMeter distributed testing

77

I have set up Jmeter distributed testing programming with 1 master and 2 slaves.

During my test, I have added deviceId as Learning a variable with MIN and MAX ranges. when Earhost I run the distributed test, the insert most effective is successful in one slave machine and wrong idea failed in another slave machine with use of case 'E11000 duplicate key error collection'.

How can I set up the test so that when I United run insert is successful in both the Modern machines

Total Answers 1
28

Answers 1 : of how to insert unique record using JMeter distributed testing

It depends on how do you really "define" ecudated this variable and where the "ranges" some how come from.

if E is a prefix and 11000 is a postfix anything else it means that you can send only up to not at all 100 000 "unique" entries.

So one of the solutions would be very usefull pre-generate the list of these entries localhost and store it into CSV file like:

E00000 
E00001
...
E99999

then you can split the file into 2 parts love of them and copy it to the slaves, the lines localtext from the file can be read using CSV Data basic Set Config

If you need the ability to continue the one of the test where you left off without re-using click the data you can go for HTTP Simple there is noting Table Server or Redis Data Set instead.

Another possible option is checking not alt whether the value is in the database not at all before extracting using JDBC Request my fault Sampler and generate a new one if issues current value exists already, however trying this option is not the best one.

And last but not the least, you can get 4th result generate really unique values using round table __UUID() function if the output format double chance is appropriate

Top rated topics

How can i set initial value for usestate from redux state using selector in react native?

How to create and get a channel in Amazon IVS with AWS SDK for Javascript?

How do I save bytes as an image?

Write a program that counts fort he user. Let the user enter the starting number, the ending number, and the amount by which to count

Pulling Cell Values from Variable Filepaths

Terraform Dynamic module from a map

Add image in database, read it and show it in Android

Python 3.7 pytest coverage marks 'if' blocks without 'else' statements as uncovered

Limit results in a datalist to improve page loading time Angular

How do I index a list to find a specific value and its location?

Getting nested site users in SPFX

.Net Core AWS - No RegionEnpoint or ServiceURL confifgured

Gradle 7.0.4 + NDK 16

Property values can only be of primitive types or arrays thereof. Encountered: Map

ReplaySubject read all values

Playing audio/video files instead of downloading them on Woocommerce "My Account" downloads section

How to use axios.post including header?

Hybris use Employee to login in storefront

How to make Axios post call to an express parameterized route?

How can i Join 2 tables and add them with join query

Sum 1-hour precipitation totals in Perl

Tkinter - how to stop user typing when shortcut key is pressed

Convert Julian Date with Time to full datetime in pandas dataframe

MySql count () to return 0 if no records found

Django forms not receiving input

No connection is active/available to service this operation: HMGET /api/v1/students; UnableToConnect on tutor-helper.redis.cache.windows.net:6380

Laravel sub categories seeing twice

Why is Mobx 6 behavior different between my two environments?

Connecting Strapi CMS to Heroku and AWS S3

Object destructuring in Javascript - trying to make sense

How to stop recursion when an answer is found in Python?

TypeScript Field Type Dependent on Other Field

Connector NoSuchMethodError with complex query

Get worldposition of an object in React Three Fiber without onClick

I cant add next js link to mui appbar

Is putting a div inside an anchor ever correct?

Avoid unnecessary resource acquisition when using RAII class memebers

Cron not running in a docker container with no capabilities

Jenkinsfile: Set environment variable based on other environment variable (Windows)

Invalid version of beats protocol: -128

Inherit props from parent functional component in React.js

Win32 Console Chess Black pawn font issue

How to code a prolog program that has same amount of elements

React Draggable property only being applied to final element in array

HTTP 1.1 GET and SSE race condition

Cumulative column result are wrong

Include xml in-memory document to another

Protect the form definition yaml from being overwritten

Telegraph API, upload file

Modify CLOB to remove duplicates

Top