Sobes.tech

QA / QA Automation

Today you were given a task that has come up several times for our students — find all errors in JSON.

249

Explain in detail when to use throws, when try-catch, and why catching a bare Exception and suppressing errors is bad.

243

Have you ever faced a situation where a process on Linux was stuck — how to find and kill it?

236

There is a method of the translation service API that transfers a certain amount from one bank user with a specified balance to another user by id: GET /api/transfer?money={money}&from={uid}&to={uid} Task: create test cases for this method Example test case: Call the method with parameters money=10.10&from=1&to=2; Expected behavior: Call the method with parameters money=10&from=1&to=2; Expected behavior: status 400, no change in balance, return error insufficient funds Call the method with parameters money=100000&from=1&to=2; Expected behavior: status 200, balance of 1 decreases by the current amount, balance of 2 increases by the current amount Call the method with parameters money=-10000&from=1&to=2; Expected behavior: status 400, no change in balance, return error cannot transfer negative value Call the method with parameters money=0&from=1&to=2; Expected behavior: status 400, no change in balance, return error cannot transfer zero value Call the method with parameters money=вавава&from=1&to=2; Expected behavior: status 400, no change in balance, return error enter a valid value Call the method with parameters money=10000&from=1&to=1; Expected behavior: status 400, no change in balance, return error, specify details of the error.

216

What should be included in an Allure report to easily reproduce a backend REST test failure locally?

211

And when it comes specifically to Bash commands (not Git) — for example, creating a file, moving a file, etc.

211

Method with 10 parameters of the same type — how to make its usage more convenient and readable?

209

On which stack/language are the microservices themselves written, and does it match the test stack?.

209
/3