我正在使用 Jmeter 对我的应用程序进行负载测试。我正在运行代理并记录 url,而不是从系统中注销,但是当我运行负载测试时,它给出了错误
响应代码:400
响应消息:错误请求
. 我想知道当我从浏览器访问应用程序时将哪些数据传输到服务器,以便我可以比较和检查差异并纠正它?我正在使用HHTP 请求默认捕获请求响应是这个正确的选项来选择
记录的网址
/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp
/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/j_security_check
/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp
/com.sap.ui.lightspeed/js/html/browserhistory.html
/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp
/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp
当 jmeter hetting 最后两个 url 时,错误就来了。以下是请求和响应。
要求
邮政
http://mysapserver:50000/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp
POST data: sap-wd-appwndid=fa028617c40811e1b5040000008d9afa&sap-wd-cltwndid=fa028616c40811e1ca090000008d9afa&sap-wd-norefresh=X&sap-wd-secure-id=kr5Ff681H2UwyCLAfl7u0w%3D%3D&SAPEVENTQUEUE=ComboBox_Select%EE%80%82Id%EE%80%84PEJNDIPG.OrderView .ChangeDeliveryPlantDropDown%EE%80%85Key%EE%80%8411%EE%80%83%EE%80%82%EE%80%83%EE%80%82urEventName%EE%80%84COMBOBOXSELECTIONCHANGE%EE%80%83 %EE%80%81InputField_Change%EE%80%82Id%EE%80%84PEJNDIPG.OrderView.ProductCodeInputField.0%EE%80%85Value%EE%80%840001%EE%80%83%EE%80%82Delay%EE %80%84full%EE%80%83%EE%80%82ContextPath%EE%80%84OrderTakingNode.0%EE%80%85urEventName%EE%80%84INPUTFIELDCHANGE%EE%80%83%EE%80%81InputField_Change%EE %80%82Id%EE%80%84PEJNDIPG.OrderView.ShadeCodeInputField。0%EE%80%85Value%EE%80%840123%EE%80%83%EE%80%82Delay%EE%80%84full%EE%80%83%EE%80%82ContextPath%EE%80%84OrderTakingNode。 0%EE%80%85urEventName%EE%80%84INPUTFIELDCHANGE%EE%80%83%EE%80%81InputField_Enter%EE%80%82Id%EE%80%84PEJNDIPG.OrderView.ShadeCodeInputField.0%EE%80%83% EE%80%82ClientAction%EE%80%84submit%EE%80%83%EE%80%82ContextPath%EE%80%84OrderTakingNode.0%EE%80%85urEventName%EE%80%84INPUTFIELDKEYPRESS%EE%80%83% EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B% 22iCursorPosX%22%3A+4%2C+%22iSelectionStart%22%3A+-1%2C+%22iSelectionEnd%22%3A+-1%2C+%22bNavigation%22%3A+true%2C+%22sFocusedId%22%3A+%22PEJNDIPG.OrderView。 ShadeCodeInputField.0%22%2C+%22sApplyControlId%22%3A+%22PEJNDIPG.OrderView.ShadeCodeInputField。0%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84false%EE%80%83%EE% 80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%EE%80%83
Cookie 数据:saplb_*=(J2EE9280220)9280250;MYSAPSSO2=AjExMDAgABRwb3J0YWw6QWRtaW5pc3RyYXRvcogAB2RlZmF1bHQBAAACAAMwMDADAANDMkQEAAwyMDEyMDcwMjA1NDgFAAQAAAAICgAA%2FwEEMIIBAAYJKoZIhvcNAQcCoIHyMIHvAgEBMQswCQYFKw4DAhoFADALBgkqhkiG9w0BBwExgc8wgcwCAQEwIjAdMQwwCgYDVQQDEwNDMkQxDTALBgNVBAsTBEoyRUUCAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDcwMjA1NDgzN1owIwYJKoZIhvcNAQkEMRYEFNDGciHoepD4FlNvbHBk2SqJFUspMAkGByqGSM44BAMELjAsAhQTb!2niESxzk4e3IXYrKWIhwUtjAIUZ1%2FFxpnUNIOwzFAXTo0rAtH!fms%3D; JSESSIONID=UihOx6IlLj4iAkSoNex-4dhBwjtGOAH6mo0A_SAP-3GDWGtiIZOq-At49VanSwh-;JSESSIONMARKID=MqO5Rwx41AYICm0wFgHl13dXEIdMBZcQ_00PqajQA
请求标头:接受语言:en-in 内容长度:1660 接受编码:gzip、deflate 引用者:
http://mysapserver:50000/webdynpro/dispatcher/mycomp.com/call_agent_dtop-login_wd/COPSApp?DealerCode=0000185994&CallId=0000123456
用户代理:Mozilla/4.0(兼容;MSIE 8.0;Windows NT 6.1;Trident/4.0;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0) 连接:keep-alive 内容类型:application/x-www-form-urlencoded 接受:/ Pragma:无缓存
回复
线程名称:COPS-Thread-Group 1-1 示例开始:2012-07-02 11:11:43 IST 加载时间:11 延迟:10 字节大小:26581 标头大小(字节):231 正文大小(字节):26350 示例计数:1 错误计数:1 响应代码:400 响应消息:错误请求
响应标头:HTTP/1.1 400 错误请求服务器:SAP NetWeaver Application Server 7.20 / AS Java 7.30 缓存控制:无缓存,无存储过期:-1 编译指示:无缓存,无存储日期:7 月 2 日星期一2012 05:48:44 GMT 传输编码:分块
HTTPSampleResult 字段:ContentType:DataEncoding:null
如果您需要更多信息,请告诉我。 非常感谢