Skip to content

request help: the key of the json in response_body is unordered #2862

@tzssangglass

Description

@tzssangglass

Issue description

In a response body, if the body is in json format, the order of keys in json is unordered.
As a result, when executing test cases, many test cases that define the full response_body content or one that contains multiple keys fail to execute.
As follows
QQ图片20201127092252

Environment

  • apisix version (cmd: apisix version):master laster
  • OS:centos7
  • OpenResty:1.19.3.1-1.el7
  • Test::Nginx:0.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions