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 2020/12/02 17:04:48 UTC

[GitHub] [apisix] tzssangglass opened a new issue #2936: request help: how to get "toolkit.json"?

tzssangglass opened a new issue #2936:
URL: https://github.com/apache/apisix/issues/2936


   ### Issue description
   when I try to write a test case, an error occurs.
   
   ```
   /usr/local/apisix/t/lib/test_admin.lua:18: module 'toolkit.json' not found:" (req 0)
   ```
   
   i don't know how to get the `toolkit.json` lib 
   ### Environment
   
   * apisix version (cmd: `apisix version`): master/latest version
   * OS:centos7
   * OpenResty:1.17.8.2
   * Test::Nginx:0.29
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] Firstsawyou commented on issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #2936:
URL: https://github.com/apache/apisix/issues/2936#issuecomment-737593834


   > @Firstsawyou we need to update doc of test.
   > The root reason is openresty upgrade to 1.19, which not keep the json encode/decode order, so apisix have to do this job by ourself.
   
   Ok i will update later.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] moonming commented on issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2936:
URL: https://github.com/apache/apisix/issues/2936#issuecomment-737578776


   @Firstsawyou we need to update doc of test.
   The root reason is openresty upgrade to 1.19, which not keep the json encode/decode order, so apisix have to do this job by ourself.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2936:
URL: https://github.com/apache/apisix/issues/2936#issuecomment-737582161


   https://github.com/apache/apisix/pull/2934/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R191
   
   @tzssangglass you can make a try with this PATCH ^_^


----------------------------------------------------------------
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.

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



[GitHub] [apisix] tzssangglass commented on issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #2936:
URL: https://github.com/apache/apisix/issues/2936#issuecomment-737601725


   solved


----------------------------------------------------------------
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.

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



[GitHub] [apisix] Firstsawyou commented on issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #2936:
URL: https://github.com/apache/apisix/issues/2936#issuecomment-737385977


   Clone the files in the following project to your local `t/` directory, it should solve the problem.
   [https://github.com/api7/test-toolkit](https://github.com/api7/test-toolkit)


----------------------------------------------------------------
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.

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



[GitHub] [apisix] tzssangglass closed issue #2936: request help: how to get "toolkit.json"?

Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #2936:
URL: https://github.com/apache/apisix/issues/2936


   


----------------------------------------------------------------
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.

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