(多接口测试)After rename the function name, the test is finished but has no TPS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

(多接口测试)After rename the function name, the test is finished but has no TPS

taohuang
@test
public void test(){}
If we rename the function name test() ,for ie. testFirst(), then run test, it will return "The test is finished but has no TPS"
场景涉及连续的多接口测试,原函数名为test(),重命名函数名后,不能统计TPS,如何解决?



类似wiki上案例

Reply | Threaded
Open this post in threaded view
|

Re: (多接口测试)After rename the function name, the test is finished but has no TPS

junoyoon
Administrator
You may see the code sth like

test.record(this, "test")

You should put the renamed test name to "test" part above sth like

test.record(this, "testFirst")

Reply | Threaded
Open this post in threaded view
|

Re: (多接口测试)After rename the function name, the test is finished but has no TPS

taohuang
Thank you Junoyoon !