Test Data Generation in Postman
-
Locked
Nick Relkov
Senior IT Consultant
![Test Data Generation in Postman image](https://embed-ssl.wistia.com/deliveries/d34a284899220e0f07c35f44d8894f89.jpg?image_crop_resized=1280x720)
Talk Description
Postman is an API Testing Platform that has been expanding its capabilities over the years, adding more functionality within the tool to support API Development and Testing. What is planned for this presentation is showcasing the ability to use Postman for functionality that they have identified in the past as something they do not support, but have the tools that can make this possible.
Test Data Generation has always been a thorn in the side of Testing as (in most cases) when this is needed, the only solution is to get a refresh from Production (which is not always possible). While attempting to locate a solution for this, it was found that even though Postman does not support being used as a Test Data Generator, it is most definitely built in a way that it can support it, with a bit of creativity. With having a bit of knowledge of the foundation of Postman, and knowledge of the basics of JavaScript and JSON, it was found that this can be created and applied in a short amount of time.
This took the initial feedback and testing of a previous project from taking hours or days, to providing the initial feedback within 30 minutes of the change being deployed. Also, a neat side effect of this was the fact that this can be used beyond just the capacity of testing (Development, Testing, demos, Client Setup, and more).
What you’ll learn
By the end of this talk, you'll be able to:
- How to Setup a Collection to support being used for Test Data Generation
- How to use the mini Javascript Pre and Post Scripting to navigate the Collection in Postman
- How to Setup JSON so that it can be utilized by a Collection in Postman and create large sample sets of data scenarios
Nick Relkov
Senior IT Consultant
Suggested Content
![TestBash Brighton 2024](https://www.ministryoftesting.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbk15IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--815abcdd8f535ab728e65b8c665daf7c18ddfd5b/TestBash%20Brighton%202024_16%209.jpg)
![MoT Advanced Certificate in Test Automation](https://www.ministryoftesting.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ293IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e7a8c9869d79d1c65bde6340c1f8e35598ece746/MoT%20Certification_MoT-ACTA.jpg)
Tags
-
api-automation
-
automation
-
test-bash-2022