You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ This project is the outcome of my self-learning about the API Testing Automation
15
15
-[Lombok](https://projectlombok.org/) has been used to generate Getter and Setters automatically for post body requests.
16
16
- FAKE Rest APIs on [Reqres.in](https://reqres.in/) has been used for testing.
17
17
- End to End scenarios have been added for the [restful booker APIs](https://restful-booker.herokuapp.com/apidoc/index.html).
18
+
- Happy and Sad Path Scenarios have been added for the [restful-ecommerce APIs](https://github.com/mfaisalkhatri/restful-ecommerce)
18
19
19
20
## :hammer_and_wrench: Talking more about the Scenarios Covered in this project:
20
21
You will get the answers to the following questions and its respective working code example with [Playwright Java](https://playwright.dev/java/docs/api-testing#writing-api-test) framework in this repository:
@@ -32,10 +33,14 @@ You will get the answers to the following questions and its respective working c
32
33
- How to use `Lombok` for writing the builder pattern code?
33
34
- How to use Builder Pattern for test data generation using [Data Faker](https://github.com/datafaker-net/datafaker)?
34
35
- How to write end-to-end api tests?
36
+
- How to write Happy Path scenarios for the APIs?
37
+
- How to write Sad Path scenarios for the APIs?
35
38
36
39
## :writing_hand: Blog Links
37
40
-[What is API Testing?](https://mfaisalkhatri.github.io/2020/08/08/apitesting/)
38
41
-[How to perform End to End API Testing using Playwright with Java and TestNG](https://medium.com/@iamfaisalkhatri/how-to-perform-end-to-end-api-testing-using-playwright-with-java-and-testng-26b318927115)
42
+
-[Playwright Java API Testing | How to test POST requests?](https://medium.com/@iamfaisalkhatri/playwright-java-api-testing-how-to-test-post-requests-4c9102d3ab03)
43
+
-[Playwright Java API Testing | How to test GET requests?](https://medium.com/@iamfaisalkhatri/playwright-java-api-testing-how-to-test-get-requests-c036b984cc6d)
0 commit comments