Completed
Last Updated: 28 Sep 2018 10:23 by ADMIN
ADMIN
Vera
Created on: 27 Sep 2018 11:23
Type: Feature Request
0
Test Studio for APIs returns error when a single non-http step is executed after a GET http request
Steps:

1. Create a test case with two steps:

- HTTP request with GET verb

- Any non-http step (Verification, Set Varisble, Wait, GoTo or Coded Step)


2. Run the http request step as a single step (if the whole test is executed instead, the test run passes successfuly)

3. Run the second step too - also as a single step

Result: The second step passes, but an error appears in the test output: "13:57:37.017 [ERROR] Unable to cast object of type 'System.String' to type 'System.Byte[]'."

If the second step is a Set Variable step or a Coded Step that creates a runtime variable, the resulting runtime varible will fail to be created and will not be available if further test steps get executed.


Expected behavior: The second step should pass with no errors and any runtime variable that it creates should be properly created and available for further test steps.  
1 comment
ADMIN
Ivaylo
Posted on: 28 Sep 2018 10:23
This behavior has been fixed and will be included in the upcoming Test Studio release