You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/10 09:49:40 UTC

[GitHub] [apisix] kingmouse-yx commented on issue #6564: bug: The jwt-auth has an exception in the case of concurrency

kingmouse-yx commented on issue #6564:
URL: https://github.com/apache/apisix/issues/6564#issuecomment-1063863720


   @soulbird 
   First of all, thank you very much.
   I tested it again just now and the issue still exists.  When jmeter responds to 401, the response message is:
   ```json
   {"message":"signature mismatch: J-faXYzdL0AMgLGO4IH9P5uLyaFlG0Mic8HZ3vlAKt8"}
   ```
   The normal message is:
   ```json
   {
     "tag": {
       "certStatus": "1",
       "certTp": "01"
     },
     "data": {
       "a_name": "xxx",
       "a_age": "29"
     },
     "certId": "341126197709218366",
     "userid": "xxxxxxxxxxxx01",
     "realname": "互联网-lua测试",
     "caseId": "11111111999999990000009909"
   }
   ```
   Here is my report in jmeter. Nearly half of the requests failed.
   | Label    | # 样本 | 平均值 | 中位数 | 90% 百分位 | 95% 百分位 | 99% 百分位 | 最小值 | 最大值 | 异常 % | 吞吐量    | 接收 KB/sec | 发送 KB/sec |
   | -------- | ------ | ------ | ------ | ---------- | ---------- | ---------- | ------ | ------ | ------ | --------- | ----------- | ----------- |
   | HTTP请求 | 6304   | 2      | 3      | 4          | 5          | 7          | 1      | 49     | 49.67% | 633.88638 | 226.68      | 199.33      |
   | 总体     | 6304   | 2      | 3      | 4          | 5          | 7          | 1      | 49     | 49.67% | 633.88638 | 226.68      | 199.33      |
   
   This is my jmeter configuration:
   [HTTP请求-jwt-000009.jmx.zip](https://github.com/apache/apisix/files/8222192/HTTP.-jwt-000009.jmx.zip)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org