Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BIBO tests
09-27-2020, 12:14 PM (This post was last modified: 09-27-2020 12:14 PM by lingu.)
Post: #10
RE: BIBO tests
(09-26-2020 09:57 PM)zhihao Wrote:  design test_delete.sh:

insert_ret = run test_insert.sh

if ($insert_ret != 0)
print "insert failed, please try again"
return $insert_ret

I think you can remove the above.

Quote:ret = send delete request del_zengxingliang.json to trajan.d-thinker.org 20050
if ($ret == 200) {
print delete success
}
else {
print delete failed
return -1
}

Pls return different exit code for 200 and 404 scenarios.

Quote:ret = send delete request del_zengxingliang.json to trajan.d-thinker.org 20050
if ($ret == 404) {
print delete success
return 0
}
else {
print delete failed
return -1
}
[/code]

RR lingu

You can add the case of deleting a non-existent case in another test, such as isds -- just make it isdsd.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BIBO tests - lingu - 09-26-2020, 01:49 PM
RE: BIBO tests - lingu - 09-26-2020, 01:53 PM
RE: BIBO tests - zhihao - 09-26-2020, 07:11 PM
RE: BIBO tests - zhihao - 09-26-2020, 09:38 PM
RE: BIBO tests - lingu - 09-27-2020, 12:00 PM
RE: BIBO tests - zhihao - 10-07-2020, 09:44 PM
RE: BIBO tests - zhihao - 09-26-2020, 09:57 PM
RE: BIBO tests - lingu - 09-27-2020 12:14 PM
RE: BIBO tests - zhihao - 10-07-2020, 11:01 PM
RE: BIBO tests - zhihao - 09-26-2020, 10:04 PM
RE: BIBO tests - lingu - 09-27-2020, 12:15 PM
RE: BIBO tests - zhihao - 10-07-2020, 11:21 PM
RE: BIBO tests - zhihao - 09-26-2020, 10:14 PM
RE: BIBO tests - lingu - 09-27-2020, 12:16 PM
RE: BIBO tests - zhihao - 10-07-2020, 11:29 PM
RE: BIBO tests - zhihao - 09-27-2020, 11:46 AM
RE: BIBO tests - lingu - 09-27-2020, 12:20 PM
RE: BIBO tests - zhihao - 10-07-2020, 11:38 PM
RE: BIBO tests - lingu - 10-09-2020, 12:16 PM
RE: BIBO tests - lingu - 10-09-2020, 05:09 PM
RE: BIBO tests - zhihao - 10-09-2020, 05:33 PM
RE: BIBO tests - zhihao - 10-11-2020, 08:49 PM
RE: BIBO tests - lingu - 10-12-2020, 12:33 AM
RE: BIBO tests - lingu - 10-12-2020, 04:27 AM
RE: BIBO tests - lingu - 11-30-2020, 05:19 PM
RE: BIBO tests - zhihao - 05-22-2021, 01:50 PM
RE: BIBO tests - lingu - 11-30-2020, 05:22 PM
RE: BIBO tests - lingu - 05-22-2021, 11:26 AM
RE: BIBO tests - zhihao - 08-13-2021, 01:27 AM

Forum Jump: