RunTest with Salesforce Tooling REST API (asynchronous and synchronous)

ER

Salesforce supports running test with Tooling REST API ,which are runTestsAsynchronous and runTestsSynchronous. Reference: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_rest_overview.htm In this post I’ll show you what is the difference between runTestsAsynchronous and runTestsSynchronous. Prepare 1.Salesforce Account 2.apigee for Salesforce (https://apigee.com/console/salesforce) 3.A TestClass (Id=01p10000001Faws) such as: 1.runTestsAsynchronous Running tests asynchronously allows methods to process in parallel, cutting down your test […]

read more