Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Performance 如何在攻城中测试https API?_Performance_Rest_Api_Siege - Fatal编程技术网

Performance 如何在攻城中测试https API?

Performance 如何在攻城中测试https API?,performance,rest,api,siege,Performance,Rest,Api,Siege,我开发了一个RESTAPI,它的形式是 https://abc.def.in/appname/data?id=1&un=sha 这还将jwt令牌作为http头进行HEA 所以我想用1000个用户同时使用Sakege来测试这个api siege https://abc.def.in/appname/data?id=1&un=sha 但是它回来了 [error]: Host not found 但当我安装时,我安装如下: ./configure --with-ssl=/us

我开发了一个RESTAPI,它的形式是

https://abc.def.in/appname/data?id=1&un=sha 
这还将jwt令牌作为http头进行HEA

所以我想用1000个用户同时使用Sakege来测试这个api

siege https://abc.def.in/appname/data?id=1&un=sha 
但是它回来了

[error]: Host not found
但当我安装时,我安装如下:

./configure --with-ssl=/usr/local/ssl
make
make install

我按照手册中的说明进行了安装,但我不知道为什么会出现“找不到主机”错误。非常感谢您的帮助。

当您使用浏览器检查时,此地址是否有效?@Picard您可以帮助解决此问题吗