Thêm Response Status Code mới

  • Nhấn vào nút + Add New Response Definition để hiển thị modal Add New Response Definition.
  • Có thể sao chép cấu trúc dữ liệu từ Response Code có sẵn, bằng cách lựa chọn ở Dropdown (1)
  • Nhập Status Code mới (2)
    • Lựa chọn Response status code từ 100 - 599
  • Sau đó, có thể thêm, sửa, xóa Headers Assertion (3)
    • Nhập tên Header vào mục Key. Tương tự với mục Add Assertion
  • Tiếp theo, nhập vào Response Body Schema Assertion (4)
    • Lựa chọn Body Response Schema type: json/xml
    • Nhập vào Schema tương ứng.
  • modal_new_response_code
    Thêm Response Status Code mới

  • Nhấn vào nút OK. (*)