API testing may sound scary and difficult for you. But there really is no need for that! API tests are used to test business logic, and you can easily add them to the Provar test automation tool. Wonder how? We’ll show you.

The Possibilities
In Provar, you can use API tests in a simple way. You just drag and drop an object in your Provar interface to the testing area. Once dropped, you can choose from several API options:

Query Object: Select this option if you want to search in your Salesforce data.
Create: Select this option if you want to create an object record in your test.
Update: Select this option if you want to update an object record.
Delete: Select this option to delete an object record during your test.
The Plan
Now, we want to translate this scenario into Provar API testing language. To execute the scenario we need to build this in Provar:
1. Create a Case
2. Read the Case and check the Status = ‘New’
3. Update the Case to Status ‘In Progress’
4. Read the Case and check the Status = ‘In Progress’
5. Update the Case to Status ‘Closed’
6. Read the Case and check the Status = ‘Closed’
7. Update the Case to Status ‘In Progress’ and check for an error
More Testing
As enthusiastic as we are? Great! Next time we’ll show you some more about UI testing in Provar.