Report [WARNING] The test is finished but has no TPS.
ningyougang opened this issue · 1 comments
ningyougang commented
My script is
...
...
@Test
public void test(){
HTTPResponse response = request.GET("https://www.google.com", params)
if (response.statusCode == 301 || response.statusCode == 302) {
grinder.logger.warn("Warning. The response may not be correct. The response code was {}.", response.statusCode)
} else {
assertThat(response.statusCode, is(200))
}
}
But during benchmarking, has no TPS, e.g.
And after benchmark finished, still has no TPS, e.g.
What's the problem? and how can i finish it?
Btw, i also changed the access http address to company innder http service
, the problem still existed.
imbyungjun commented
Add this code to @BeforeThread
method.
test.record(this, "test")