File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -283,20 +283,20 @@ Trace Request
283283 ${resp } = TRACE ${HTTP_LOCAL_SERVER } /anything
284284 Status Should Be OK ${resp }
285285
286- Get request with get response
286+ Get request with last response
287287 [Tags] get
288288 GET ${HTTP_LOCAL_SERVER } /anything
289289 Status Should Be OK
290- ${resp } = Get response
290+ ${resp } = Last response
291291 Should be equal ${resp.status_code } ${200 }
292292 Should be equal ${resp.json() } [url] ${HTTP_LOCAL_SERVER } /anything
293293
294- Post request with get response
294+ Post request with last response
295295 [Tags] post
296296 ${data } = Create dictionary key1=one key2=two key3=3
297297 POST ${HTTP_LOCAL_SERVER } /anything json=${data }
298298 Status Should Be OK
299- ${resp } = Get response
299+ ${resp } = Last response
300300 Should be equal ${resp.status_code } ${200 }
301301 Should be equal ${resp.json() } [url] ${HTTP_LOCAL_SERVER } /anything
302302 Should be equal ${resp.json() } [json] ${data }
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ def get_file_for_streaming_upload(path):
168168 """
169169 return open (path , "rb" )
170170
171- @keyword ("Get response" )
172- def get_response (self ) -> requests .Response :
171+ @keyword ("Last response" )
172+ def get_last_response (self ) -> requests .Response :
173173 """
174174 Returns the response from the last request.
175175 """
You can’t perform that action at this time.
0 commit comments