Forum Discussion

veena7's avatar
veena7
Occasional Visitor
2 months ago

Trying to update test case status through API, but getting 500 internal server. Can someone help?

I am trying below API end point with PUT <SPAN class="token operator">:</SPAN>(base URL)flex/services/rest/latest/execution/bulk?scheduleids=<SPAN class="token number">328314</SPAN>&status=<SPAN class="token number">1</SPAN>&testerid=<SPAN class="token number">3435</SPAN> and Below JSON <SPAN class="token punctuation">{</SPAN> <SPAN class="token property">"ids"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token punctuation">[</SPAN> <SPAN class="token number">315813</SPAN> <SPAN class="token punctuation">]</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token property">"selectedAll"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token number">1</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token property">"serachView"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token boolean">false</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token property">"teststepUpdate"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token boolean">false</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token property">"teststepStausId"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">}</SPAN> and Getting below response with <SPAN class="token number">500</SPAN> error code <SPAN class="token punctuation">{</SPAN> <SPAN class="token property">"errorMsg"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token string">"Internal Server Error"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token property">"errorCode"</SPAN><SPAN class="token operator">:</SPAN> <SPAN class="token string">"128z02"</SPAN> <SPAN class="token punctuation">}</SPAN>
No RepliesBe the first to reply