Jump to content
WAPT Forum
Sign in to follow this  
HenryGreijer

Recorder and http DELETE

Recommended Posts

I'm recording among others a few http DELETE requests but it seems that the recorder is not recognizing the query string parameters that are supposed to go with the request.

 

I can add the parameters manually after recording but it's quite cumbersome.

Surely this must be a bug, right?

Share this post


Link to post
Share on other sites

Sorry I can't because I'm recording on internal webs.

 

See If I can explain, it isn't too hard to understand really.

 

1. We have a standard http POST request that carries JSON object data, that work fine with the recorder.

 

2. Then we also do a http DELETE that also carries a JSON object, this doesn't get picked up by the recorder? It only recognizes the request but no parameters.

 

I've double-checked in Telerik's Fiddler to see that the http DELETE request really has the JSON object so I'm pretty sure of my case.

 

My current workaround is to manually add a URL parameter on each and every (28 requests, phew!) DELETE request, even though this parameter is not really a JSON object but rather a parameter on the Query string our system just happens to accept it.

Share this post


Link to post
Share on other sites

Adding data with POST works fine with the recorder, it picks upp the JSon data correctly.

POST http://{Undisclosed URL} HTTP/1.1
Host: maia
Connection: keep-alive
Content-Length: 1020
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://{Undisclosed URL}
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71

Safari/537.36
Content-Type: application/json; charset=UTF-8
Referer: http://m{Undisclosed URL}
Accept-Encoding: gzip, deflate
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
Cookie:

.ASPXAUTH=903D393BDC9E5B526BEA63E5D0FFF0811B8604C69847464A74811D80F5B37A5836D4E2A83B61532CAE44ED0AF05685D9FC8F913359

FAB63F9D6D3EA71D0B8AF7BF5B8EDED5161269143BD50908718B187C03109C62A8E7AAE7AA1DED7262AF55CC010CA8C4CEEB4C803CE554697EAA

796CE354CD8EB6AF001BD3E476C2DD674A7AC8573F482D1B05CF48D4BDDEA50D2C8C5DED7C;

TeleoptiAuth=FC1C5B13E508957BD0C3D1623E6F88EAE84B3B23C6D64E6ABA57DBA4BC06F311175B9E88C954C5332E9287595CC27436B7EB171

79AC68E8546FD79AD44512887D377B227F65AB6EF2AD5A82BAC4BA109F9F1705614629FB01817A10536DF5EAD4DA823295B7E972B62FC9739136

8C940D7B712EB5C6A2ADF3DDD4358A1176B547AB9276B38BD71CC758D2AEBBE690E6E166C9F7B8F07513A16A632F317AD3F0E89A895ACA0DB1B4

82E241ED3FCA961275C6CF1E8F88B552DB7671CE0B51E05EE888E88D020AD2BF3964E7E2CA967C5779D15E3AF7C5E98BA107A6498D2CF1E540CC

C10228E282F7D095C132F0C0DFA2B47CCA346395BB0D1C4CDDC0E1106F0406C25115FEC9ADA3609C47305C352686F66D5DB05F49BA2FDB92CFED

FD3D6AEE5A24A71D3BAC946AD1623307D76A7F6A0121A1D2754BAAA2CDAFF5289D59B2BDB19E9627D

{"IsTemplateDetailsVisible":true,"PreferenceId":"030f42df-24a9-4933-98f0-

9f0300dfb292","EarliestEndTimeNextDay":false,"LatestEndTimeNextDay":false,"AddPreferenceFormVisible":true,"IsPrefere

nceInputVisible":true,"ShowMeridian":false,"IsTimeInputVisible":true,"NextDayMin":false,"NextDayMax":false,"IsPrefer

enceInputVisibleToggleCss":"glyphicon glyphicon-circle-arrow-

up","ShowError":false,"DeleteTemplateEnabled":false,"EnableActivityTimeEditing":false,"EarliestEndTimeNextDayClass":

"icon-white","LatestEndTimeNextDayClass":"icon-

white","EarliestEndTimeNextDayToggleEnabled":false,"LatestEndTimeNextDayToggleEnabled":false,"LatestEndTimeNextDayTo

ggle":false,"EarliestEndTimeNextDayToggle":false,"IsSaveAsNewTemplateClass":"glyphicon glyphicon-plus-

sign","PreferenceString":"030f42df-24a9-4933-98f0-

9f0300dfb292undefinedundefinedundefinedfalseundefinedfalseundefinedundefinedundefinedundefinedundefinedundefinedunde

finedundefinedundefined","HasTemplates":false,"IsDetailsVisible":true,"ToggleSign":"-","Date":"2014-12-01"}

However the recorder does not recognize the JSon data at DELETE

DELETE {Undisclosed URL} HTTP/1.1
Host: maia
Connection: keep-alive
Content-Length: 21
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://{Undisclosed URL}
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71

Safari/537.36
Content-Type: application/json; charset=UTF-8
Referer: http://{Undisclosed URL}
Accept-Encoding: gzip, deflate, sdch
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
Cookie:

.ASPXAUTH=903D393BDC9E5B526BEA63E5D0FFF0811B8604C69847464A74811D80F5B37A5836D4E2A83B61532CAE44ED0AF05685D9FC8F913359

FAB63F9D6D3EA71D0B8AF7BF5B8EDED5161269143BD50908718B187C03109C62A8E7AAE7AA1DED7262AF55CC010CA8C4CEEB4C803CE554697EAA

796CE354CD8EB6AF001BD3E476C2DD674A7AC8573F482D1B05CF48D4BDDEA50D2C8C5DED7C;

TeleoptiAuth=FC1C5B13E508957BD0C3D1623E6F88EAE84B3B23C6D64E6ABA57DBA4BC06F311175B9E88C954C5332E9287595CC27436B7EB171

79AC68E8546FD79AD44512887D377B227F65AB6EF2AD5A82BAC4BA109F9F1705614629FB01817A10536DF5EAD4DA823295B7E972B62FC9739136

8C940D7B712EB5C6A2ADF3DDD4358A1176B547AB9276B38BD71CC758D2AEBBE690E6E166C9F7B8F07513A16A632F317AD3F0E89A895ACA0DB1B4

82E241ED3FCA961275C6CF1E8F88B552DB7671CE0B51E05EE888E88D020AD2BF3964E7E2CA967C5779D15E3AF7C5E98BA107A6498D2CF1E540CC

C10228E282F7D095C132F0C0DFA2B47CCA346395BB0D1C4CDDC0E1106F0406C25115FEC9ADA3609C47305C352686F66D5DB05F49BA2FDB92CFED

FD3D6AEE5A24A71D3BAC946AD1623307D76A7F6A0121A1D2754BAAA2CDAFF5289D59B2BDB19E9627D

{"Date":"2014-12-01"}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...