You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by JackTaylor <ta...@sbcglobal.net> on 2008/01/14 22:30:11 UTC

POST issue

I have created a test and can get logged in and navigate to a form.  This
form uses DOM and calls DOJO.  I get not response errors when the test is
executed but when I go into the website the record has not been created.  I
have added A cookie manager, and a regular expression extractor.  I have
recorded this script with the proxy and badboy and still cannot create the
record.  Please let me know what i am missing or if jmeter can't handle the
DOM request.
 
Here is my POST request:
POST http://192.168.1.150:11000/jport/mdv/detail/objective_detail.jsf

POST data:
ndx=objective&dcid=-1&dynamic=objective&nodeString=&parentNodeString=%3A&desktop%3Aname=JT&desktop%3A_idJsp17=&desktop%3A_idJsp19=&desktop%3A_idJsp22=&desktop%3A_idJsp24_tab_selected=definitions&desktop%3A_idJsp53%3AHIDDEN=&desktop%3A_idJsp63%3AHIDDEN=&desktop%3AwfName=&desktop%3AwfPeriod=&desktop%3AwfDate=&desktop%3AwfEscalateToSecondaryDays=&desktop%3AwfEscalateToEscalationDays=&desktop%3AwfSubject=&desktop%3AwfBody=&desktop%3AwfPrimary%3AHIDDEN=&desktop%3AwfSecondary%3AHIDDEN=&desktop%3AwfEscalation%3AHIDDEN=&desktop%3A_idJsp92%3ArangeStart=0&desktop%3A_idJsp136%3ArangeStart=0&hasBusinessProcessesToConfirm=false&oracle.adf.faces.FORM=desktop%3AobjectiveDetailForm&oracle.adf.faces.STATE_TOKEN=.*&event=&source=desktop%3A_idJsp157&oracle.faces.ViewState=$jsf{ViewState}

Cookie Data:
JSESSIONID=8A421C912058545F1BFE7B0349054246

Request Headers:
Accept-Language: en-us
Host: 192.168.1.150:11000
Content-Length: 779
Accept-Encoding: gzip, deflate
Referer:
http://192.168.1.150:11000/jport/mdv/detail/objective_detail.jsf?ndx=objective&dcid=-1&tree=desktop:_idJsp7&parent=:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322; .NET CLR 1.0.3705)
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
Pragma: no-cache


Attached are the HTML rendeered screen shots.
Thanks
Jack
http://www.nabble.com/file/p14814999/one.jpeg 
http://www.nabble.com/file/p14814999/two.jpeg 
http://www.nabble.com/file/p14814999/three.jpeg 
-- 
View this message in context: http://www.nabble.com/POST-issue-tp14814999p14814999.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: POST issue

Posted by sebb <se...@gmail.com>.
On 14/01/2008, JackTaylor <ta...@sbcglobal.net> wrote:
>
> I have created a test and can get logged in and navigate to a form.  This
> form uses DOM and calls DOJO.  I get not response errors when the test is
> executed but when I go into the website the record has not been created.  I
> have added A cookie manager, and a regular expression extractor.  I have
> recorded this script with the proxy and badboy and still cannot create the
> record.  Please let me know what i am missing or if jmeter can't handle the
> DOM request.
>
> Here is my POST request:
> POST http://192.168.1.150:11000/jport/mdv/detail/objective_detail.jsf
>
> POST data:
> ndx=objective&dcid=-1&dynamic=objective&nodeString=&parentNodeString=%3A&desktop%3Aname=JT&desktop%3A_idJsp17=&desktop%3A_idJsp19=&desktop%3A_idJsp22=&desktop%3A_idJsp24_tab_selected=definitions&desktop%3A_idJsp53%3AHIDDEN=&desktop%3A_idJsp63%3AHIDDEN=&desktop%3AwfName=&desktop%3AwfPeriod=&desktop%3AwfDate=&desktop%3AwfEscalateToSecondaryDays=&desktop%3AwfEscalateToEscalationDays=&desktop%3AwfSubject=&desktop%3AwfBody=&desktop%3AwfPrimary%3AHIDDEN=&desktop%3AwfSecondary%3AHIDDEN=&desktop%3AwfEscalation%3AHIDDEN=&desktop%3A_idJsp92%3ArangeStart=0&desktop%3A_idJsp136%3ArangeStart=0&hasBusinessProcessesToConfirm=false&oracle.adf.faces.FORM=desktop%3AobjectiveDetailForm&oracle.adf.faces.STATE_TOKEN=.*&event=&source=desktop%3A_idJsp157&oracle.faces.ViewState=$jsf{ViewState}

The last part of the data:

ViewState=$jsf{ViewState}

does not look right.

Seems that the ViewState variable has not been set up properly.

>
> Cookie Data:
> JSESSIONID=8A421C912058545F1BFE7B0349054246
>
> Request Headers:
> Accept-Language: en-us
> Host: 192.168.1.150:11000
> Content-Length: 779
> Accept-Encoding: gzip, deflate
> Referer:
> http://192.168.1.150:11000/jport/mdv/detail/objective_detail.jsf?ndx=objective&dcid=-1&tree=desktop:_idJsp7&parent=:
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
> 1.1.4322; .NET CLR 1.0.3705)
> Connection: keep-alive
> Content-Type: application/x-www-form-urlencoded
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
> application/x-shockwave-flash, */*
> Pragma: no-cache
>
>
> Attached are the HTML rendeered screen shots.
> Thanks
> Jack
> http://www.nabble.com/file/p14814999/one.jpeg
> http://www.nabble.com/file/p14814999/two.jpeg
> http://www.nabble.com/file/p14814999/three.jpeg
> --
> View this message in context: http://www.nabble.com/POST-issue-tp14814999p14814999.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org