You need to sign in to do that
Don't have an account?
Vishal Shelar
Which API can be used to execute unit tests
I appeared for Platform dev 2 exam and faced a question
Which API can be used to execute unit tests?
3 answers
A. Streaming API
B. Test API
c. Tooling API
D. SOAP API
E. Metadata API
I was not sure about this, can anyone answer that.
Which API can be used to execute unit tests?
3 answers
A. Streaming API
B. Test API
c. Tooling API
D. SOAP API
E. Metadata API
I was not sure about this, can anyone answer that.
Test API
SOAP API
Metadata API
Tooling API
SOAP API
Metadata API
1. You can use the runTests() call from the SOAP API to run tests synchronously.
2. You can also run tests using the Tooling REST API. Use the /runTestsAsynchronous/ and /runTestsSynchronous/ endpoints to run tests asynchronously or synchronously.
So the answer to the question should be Tooling API, SOAP API and Metadata API, because Streaming API is about events and notifications, and there is no such thing as Test API.
C. Tooling API
D. SOAP API
E. Metadata API