JMeter:响应数据与预期的不同

时间:2018-11-05 09:30:12

标签: jmeter vaadin jmeter-4.0

使用JMeter进行性能测试时出现问题。在记录脚本时,我使用数据A作为示例。然后我也使用包含数据A的CSV数据配置。

执行完成后,我发现数据A的事务已通过,而其他人未能完成事务。

预期的响应

for(;;);[{"syncId": 8, "clientId": 8, "changes" : [["change",{"pid":"0"},["0",{"id":"0","location":"http:\/\/***:8080\/aa_stg\/#!PatientDashboardView"},["css-injections",{},["css-string",{"id":332},".dashboard .v-panel-bcolor {border: 1px solid #fafafa !important; background-color: #fafafa !important;}"],["css-string",{"id":333},".p_margin {margin:5px;}"],["css-string",{"id":334},".dashboard .v-button-nobackgroundcust {padding: 0px !important;background: transparent;border: none !important;box-shadow: none !important;font-weight:bold;"]

实际答复:

for(;;);[{"syncId": 8, "clientId": 8, "changes" : [["change",{"pid":"0"},["0",{"id":"0","location":"http:\/\/***:8080\/aa_stg\/#!BedManagementView"}]],["change",{"pid":"359"},["22",{"id":"359"}]],["change",{"pid":"46"},["22",{"id":"46"}]],["change",{"pid":"358"},["3",{"id":"358","iem":"LAZY","iet":400,"nvc":true}]],["change",{"pid":"35"},["23",{"id":"35","ormoh":false,"usehtml":true},["options",{},["moreItem",{"text":""}]],["items",{},["item",{"id":2,"style":"user-menu-caption","text":"<span class=\"noti-menu-badge\">0<\/span>","icon":"theme:\/\/img\/annoucement.png"},["item",{"id":3,"text":"Announcement","command":true}],["item",{"id":4,"text":"Update\/Create New Announcements","command":true}]

预先感谢您分享宝贵的建议。

1 个答案:

答案 0 :(得分:0)

是的,它显示了不同的视图,因为只有数据A得到正确的响应并转到下一页,而其他数据则停留在当前页面上。我不认为是由sessionID造成的