AnsweredAssumed Answered

Posting written submission via JSON to /webapps/assignment/uploadAssignment?action=submit

Question asked by cw0070799 on Apr 5, 2018

At the moment, I am trying to handle standard written submissions however the post request is rather complicated and I am not sure how i can replicate it within jMeter.

 

Main thing I would like to understand is what the Post request is doing.

     Most notably these snippets: "-----------------------------265001916915724"

 

The post Request:

URL: <domain>/webapps/assignment/uploadAssignment?action=submit

Request:

-----------------------------265001916915724

Content-Disposition: form-data; name="blackboard.platform.security.NonceUtil.nonce"

 

0cc35224-18c0-4dd6-8c27-2528f4bd9a5c

-----------------------------265001916915724

Content-Disposition: form-data; name="blackboard.platform.security.NonceUtil.nonce.ajax"

 

0b4187a0-b1c2-4125-9bfa-771c52f9dfde

-----------------------------265001916915724

Content-Disposition: form-data; name="isAjaxSubmit"

 

true

-----------------------------265001916915724

Content-Disposition: form-data; name="course_id"

 

_92734_1

-----------------------------265001916915724

Content-Disposition: form-data; name="content_id"

 

_1588231_1

-----------------------------265001916915724

Content-Disposition: form-data; name="attempt_id"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="mode"

 

view

-----------------------------265001916915724

Content-Disposition: form-data; name="remove_file_id"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="dispatch"

 

submit

-----------------------------265001916915724

Content-Disposition: form-data; name="recallUrl"

 

/webapps/blackboard/content/listContent.jsp?content_id=_1118413_1&course_id=_92734_1

-----------------------------265001916915724

Content-Disposition: form-data; name="lu_link_id"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="studentSubmission.text_f"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="studentSubmission.text_w"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="studentSubmission.type"

 

H

-----------------------------265001916915724

Content-Disposition: form-data; name="textbox_prefix"

 

studentSubmission.text

-----------------------------265001916915724

Content-Disposition: form-data; name="studentSubmission.text"

 

<p>test</p>

-----------------------------265001916915724

Content-Disposition: form-data; name="student_commentstext_f"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="student_commentstext_w"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="student_commentstype"

 

H

-----------------------------265001916915724

Content-Disposition: form-data; name="textbox_prefix"

 

student_commentstext

-----------------------------265001916915724

Content-Disposition: form-data; name="student_commentstext"

 

 

-----------------------------265001916915724

Content-Disposition: form-data; name="newFilefilePickerLastInput"

 

dummyValue

-----------------------------265001916915724--

Outcomes