Environment configuration for Salesforce APIs
Hi,
I'm just having a mental block on this so would like some help with ideas on how to solve my issues.
So i am currently performing API testing on salesforce thru both the Salesforce SOAP and REST service. So if we concentrate on just the SOAP service for now, To use the Salesforce Service, you need to first call the Salesforce Endpoint login method with your sandbox environment login credentials and then in your subsequent calls you would then use the ServerUrl and SessionId returned back in the response in your subsequent Salesforce calls.
In my Project i copy the response fields into a Property Step
and use them in the corresponding Requests to Salesforce
so this is working all fine with ReadyAPIs 'default environment'. My issue comes when i try to set up 'Environments'. We have multiple test sandboxes so currently in my test I change the login parameters to login to the different sandobxes under test. I want to use the Environments dropdown, however i dont know how to setup the endpoint parameter in the Environment dialog to accept/use the passed back endpoint from Salesforce
currently if i set up the endpoints to have a QA environment, the endpoint dialog will only let me have 1 endpoint for salesforce (the base Salesforce url)
so the subsequent calls will not have the right endpoint as supplied back from Salesforce
Has anyone worked with sort of setup and gotten it working in ReadyAPI?
An ideas on how to set (reset my setup) this up would be greatly appreciated.