TestProject Forum

HTTP GET problem in Android test

Hi everyone!

I am experiencing trouble with an HTTP GET call at the beginning of my Android Tests. I work on an app that has IPhone, Android and PWA versions from the same codebase, and at the beginning of my tests I need to establish certain user preconditions along these lines:

  • Test user is deleted.
  • Test user is created
  • Test user is given certain attributes (being premium or not, etc).

This edited screenshot is from one of those calls:

These calls (there are four) work perfectly fine with the web (PWA) version tests, but fail in Android with the following message:

Java.util.concurrent.ExecutionException: io.testproject.java.sdk.v2.exceptions.FailureException: Failed to create URI
Caused by io.testproject.java.sdk.v2.exceptions.FailureException: Failed to create URI

Any suggestion or help is really appreciated.

Thanks in advance,

      Javier

It was my fault, sorry! . I dropped the last char in the Authorization token and because of that It wouldn’t work. The ones working were created before and the token was correct. I would delete the main post, but I don’t know how!