Jakub S
07/14/2023, 9:34 AMif there are proceed with tests
if they are not there call method to add mappings necessary for services that are being tested and then proceed with testsNow I am not sure if I can use the WM library imported via Gradle for this or do I need to create a so called "gateway" by including WM api and then using REST assured to create additional methods to contact the remote server. P.S. I am new to all this BE automation testing and I kinda learn as I go. So not really sure if this is correct solution.
Oleg Nenashev
07/14/2023, 9:44 AMMy intention is to call WM API before tests to check if there are any existing mappings and then process to resultIs it for manual or automated tests? For manual tests, indeed you might want to use a tool to ensure everything is configured correctly. For automated tests, you have two options: using an external service (like your current instance or WireMock Cloud) or creating WireMock instances right inside the tests
Jakub S
07/14/2023, 9:46 AMOleg Nenashev
07/14/2023, 9:51 AMJakub S
07/14/2023, 10:01 AMOleg Nenashev
07/14/2023, 10:31 AMJakub S
07/14/2023, 10:57 AM