https://github.com/sharvarimehta/api-automation-using-postman-ddt
Automated Google Search testing using Postman with Data Driven Testing (DDT) for numbers 1β10, dynamically validating search results and logging each iteration
https://github.com/sharvarimehta/api-automation-using-postman-ddt
api datadriventesting postman
Last synced: 6 months ago
JSON representation
Automated Google Search testing using Postman with Data Driven Testing (DDT) for numbers 1β10, dynamically validating search results and logging each iteration
- Host: GitHub
- URL: https://github.com/sharvarimehta/api-automation-using-postman-ddt
- Owner: SharvariMehta
- Created: 2025-08-22T15:47:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T15:51:31.000Z (7 months ago)
- Last Synced: 2025-08-22T17:56:46.312Z (7 months ago)
- Topics: api, datadriventesting, postman
- Homepage: https://www.google.com/
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Google Search DDT with Postman
This repository demonstrates **Data Driven Testing (DDT)** in Postman using the **Google Search API**.
The test runs a search for numbers **1 to 10** dynamically using a JSON data file.
---
## π Project Structure
```
π¦ Google-Search-DDT
β£ π DDT using POSTMAN.postman_collection.json # Postman collection
β£ π data.json # Test data file (numbers 1β10)
β£ π README.md # Project documentation
````
---
## π Test Case
**Test Case ID:** `TC_Google_Search_001`
**Title:** Validate Google search results for numbers 1β10 using DDT in Postman
**Precondition:**
* Postman installed
* JSON file prepared with numbers 1β10
**Test Steps:**
1. Send `GET https://www.google.com/search?q={{number}}`
2. Iterate through values `1β10` using the data file
3. Validate response status code
4. Log searched number in test results
5. Verify response contains searched number
**Expected Result:**
* Each request returns **200 OK**
* Test results show which number was searched
---
## π Sample Output (Runner)
```
β Searched number: 1
β Status code is 200
```
---
## πββοΈ Letβs Connect π©βπ»
- π§ **Email:** [sharvarimehta97@gmail.com](mailto:sharvarimehta97@gmail.com)
- πΌ **LinkedIn:** [linkedin.com/in/sharvarimehta](https://www.linkedin.com/in/sharvarimehta)
- π **GitHub:** [github.com/SharvariMehta](https://github.com/SharvariMehta)
- π **Postman:** [postman.com/sharvarimehta](https://www.postman.com/sharvarimehta)
---