Quantcast
Channel: Gurock Software Support Forum
Viewing all articles
Browse latest Browse all 829

Updating seperate steps through Java API

$
0
0

Map data = new HashMap<String,String>();
data.put("status_id", new Integer(5));
data.put("comment", "This test FAILED!");
data.put("custom_steps_seperated","[{\"status_id\": \"1\"},{\"status_id\": \"1\"}]");
   
JSONObject res = (JSONObject) client.sendPost("add_result_for_case/508/106357", data);


When I execute this code I only update the test case not the individual steps.

Please Help,
Thank you


Viewing all articles
Browse latest Browse all 829

Trending Articles