我正在运行带有以下设置的采样器(HTTP请求):
Server Name or IP: localhost:8044/ca
Path: /
失败并抛出错误消息:
Thread Name: LoadTest 1-1 Sample Start: 2017-02-01 16:50:41 GMT+05:30 Load time: 0 Connect Time: 0 Latency: 0 Size in bytes: 1077 Headers size in bytes: 0 Body size in bytes: 1077 Sample Count: 1 Error Count: 1 Response code: Non HTTP response code: java.net.URISyntaxException Response message: Non HTTP response message: Expected closing bracket for IPv6 address at index 22: http://[localhost:8044/ca]/
请建议我解决方案。
答案 0 :(得分:0)
您不应该在"服务器名称"中使用路径。输入字段,您有两个选项:
将服务器名称,端口和路径拆分为3个不同的输入:
将整个网址放入"路径"输入
更多提示: