cancel
Showing results for 
Search instead for 
Did you mean: 

status code extraction error

SOLVED
user2
Occasional Contributor

status code extraction error

Hi,

I'am using ReadApi 2.8.2 and i'am getting this error when trying to execute test steps that requires too much time to be executed

 

status code extraction error.png

 

Is there any possible way to fix this?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisAdams
Community Leader

Re: status code extraction error

That depends on what you want to do or report.

 

You have a service that is taking too long, you could extend Ready API's timeout to something much longer, at least then you get a response and the status code assertion will run.

 

But is the lengthy response time the actual issue?  Should the API be quicker?

View solution in original post

2 REPLIES 2
ChrisAdams
Community Leader

Re: status code extraction error

That depends on what you want to do or report.

 

You have a service that is taking too long, you could extend Ready API's timeout to something much longer, at least then you get a response and the status code assertion will run.

 

But is the lengthy response time the actual issue?  Should the API be quicker?

View solution in original post

richie
Community Hero

Re: status code extraction error

Hey user2,

Apologies, but all that failure is showing is that the http response code returned in your response doesnt match what you defined as a valid http response code.

So we can understand whats going on, can you please add a screenshot of the RAW tab on your response please?
Also, could you plz confirm what value(s) were addedto the http status code assertion?

Ta

Rich


if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors