1. 程式人生 > >RF介面測試-post

RF介面測試-post

1、Post Request With URL Params,如下圖,首先建立會話物件Create Session,然後建立url引數Create Dictionary,傳送post請求Post Request,最後斷言Should Be Equal As Strings



2、Post Request With No Data



3、Post Requests,如下圖,兩個Create Dictionary分別建立請求頭和請求體引數,兩個Dictionary Should Contain Value斷言,驗證響應json字串的form鍵的值是否包含預期值



4、Post With Unicode Data,表單引數的值為中文