What should I do if the content of the Jmeter parameter is too large and cause no response or slow operation?

What should I do if the content of the Jmeter parameter is too large and cause no response or slow operation?

For example, the amount of data in the hand_sign parameter in the request parameter is too large, and when each component of jmete is clicked, jmeter runs slowly.

 

 

solve:

①The value of the image can be saved by parameterization, and the data in the parameterization can be taken in the script

a: Use the fidder tool to capture the package, pull the parameters, and put them in a txt document eg:

{"image": "/ 9j / 4AAQSkZJRgABAQAASABIAAD / 4QBMRXhpZgAATU0AKgAAAAgAAgESAAMAAAAB \ r \ nAAEAAIdpAAQAAAABAAAAJgAAAAAAAAQACAAQAAAABAAAGTqADAAQAAAABAD \ 7 +

txt 文档 填写 的 是: / 9j / 4aaqskzgaatu0aaaaaaaaaaaAAb \ r \ naaeaaaaaaaa ga \

b: fill in csv data set config

 

 

 

 

 

②Or add a global variable, save the value of the image in the global variable, and get the data of the global variable in the script

 

After using any of the above methods, the components in the script run quickly.

*If the amount of data is too large, one of these two methods needs to be used to read the data. It cannot be directly written in the requested data, which will cause the jmeter response to fail and cannot be opened directly.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324959153&siteId=291194637