我正在尝试使用Fitnesse REST Fixture执行PUT请求。 但是当我运行这个测试用例时,它会抛出一个空指针异常。如果此测试用例中有任何问题,请分享您的想法
|setHeader |!-Content-Type:multipart/form-data; boundary=----WebKitFormBoundary0r7Su8bjJuE4gOOo-!|
|setMultipartFileName |!-Windows path to the File xyz.wav-!|
|setBody |!-------WebKitFormBoundary0r7Su8bjJuE4gOOo
Content-Disposition: form-data; name="abc
1
------WebKitFormBoundary0r7Su8bjJuE4gOOo
Content-Disposition: form-data; name="def
1
------WebKitFormBoundary0r7Su8bjJuE4gOOo
Content-Disposition: form-data; name="file"; filename="xyz.wav"
Content-Type: audio/wav
------WebKitFormBoundary0r7Su8bjJuE4gOOo---!|
|PUT|REST API Location|200||