Рет қаралды 2,623
JMeter - Create Dynamic JSON in JMeter Using Groovy
--------------------------------------------------------------------------------------------------------------
*Example business use-cases*
-- User Registration Load Testing
---`n` Number of Users need to register in given time.
-- Product Review in E-Commerce Load Testing
---- Multiple Reviews to be added on one product
--- Multiple Reviews to be added on multiple products
---------------------------------------------------------------------------------------------------------------
*What you will learn by end of this video?*
1. Limitation of Using CSV for parameterisation
--- Size of CSV
--- Maintenance
--- Nested JSON Payload and mapping of variables
2. Use of `thread group` to do the load testing
3. Use Of `PreProcessor` in JMeter
4. Use Of `Debug Sampler` while developing Script
5. Introduction JSR223 PreProcessor
6. Creating and using Objects in JSR223 PreProcessor
7. Creating Dynamic JSON to pass as payload
---------------------------------------------------------------------------------------------------------------
Hands-on demo
1. Using Debug Sampler
2. Using JSON-Server