Did the Agent Release for 3.5.0 break iOS coded tests?

After upgrading to the 3.5.0 agent, The IOSDriver is not initializing.

“TestProject.OpenSDK.Exceptions.AgentConnectException: Agent responded with status code 500: [Session ID is null. Using WebDriver after calling quit()?”

If I downgrade to 3.4.2 everything works as expected. The iOS driver initializes and my tests execute on my simulator.

Hi @timothy.nolan and welcome to our community :slight_smile:

I’ve reproduced your issue on my end, and it works like a charm.
The case is not related to the agent version.
Which iOS version do you have installed on the simulator?

The sim is on version 15.2.

Should be no issue with that version.
Please follow these solutions they should help:

  • Restart the agent and reproduce the test

  • Reinstall the agent and reproduce one more time.

  • And if the issue still occurs after trying the above solutions:
    Please quit the TestProject Agent and then clean the these folders:








also delete the following file:


You can find them here:


Open the Start menu, type %appdata%\TestProject\Agent\ and hit enter.



Open Files Finder and choose Go form the top menu, select Go to Folder and type:
~/Library/Application Support/TestProject/Agent

Navigate to ~/.testproject/agent/

Then start your agent again and let me know if you have managed.

I’m still receiving the same error after following your suggestions. As mentioned, I have no issue when rolling back to the previous agent. I also upgraded the TestProject.OpenSDK nuget package from 1.2.4 to to rule that out, but I still experience the same issue.

You said you reproduced the issue, though. And you know it’s not agent version related? What was the repro?

Also, let me know if you would like me to send you the logs.


Please send your agent logs and also the project code for an investigation to our support@testproject.io