From 1fe994138f3d7ff5aa67f090e308c6e5bf644820 Mon Sep 17 00:00:00 2001 From: cerosh Date: Fri, 30 Aug 2024 20:59:00 +1000 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d95cea..e3f75fb 100644 --- a/README.md +++ b/README.md @@ -1 +1,21 @@ -# apiChallenges.github.io \ No newline at end of file +# Playwright API Testing Hub +**Features** +- Centralized Header Management: The fixture feature allows for the definition of shared headers in a single location, which are then applied across all relevant API requests. This centralization not only simplifies the codebase but also ensures consistency in header management throughout the test suite. +- Reduced Code Duplication: By moving header logic to a base file, we have significantly reduced code duplication. This streamlining results in cleaner, more maintainable code, and reduces the risk of errors associated with manually updating headers in multiple places. +- Improved Maintainability: Any changes to header configurations can now be made in one place, facilitating easier updates and ensuring that all test cases reflect the latest header requirements without requiring individual modifications. +- Enhanced Readability: With common functionality abstracted away into fixtures, the test scripts themselves are more focused on the specific test logic, enhancing overall readability and making it easier for developers to understand and extend the test cases. +**Limitations** +Credentials: The test scripts hardcode authentication credentials, posing a security risk and reducing flexibility. +- URLs: Endpoints and URLs are hardcoded, making the framework less adaptable to changes in the API environment or testing different environments. +- Repetitive Code: Repetitive code structures are present, leading to maintenance challenges and potential test inconsistencies. + + + + + + + +
MainLevel 1Level 2
+# +All the exercises I have used are the challenges that Alan Richardson created. He owns the demo application used to test the API. I want to thank him from the bottom of my heart for his efforts in creating these challenges and hosting this site free of cost for all new learners. +https://www.eviltester.com/page/tools/apichallenges/