有人知道如何使用 jMeter 对 xPage 应用程序进行压力测试吗?
我试图找到与 JSF 测试和 ICE 面孔 (http://tol8.blogspot.com/2010/12/load-andor-stress-test-of-icefaces-web.html) 相似的地方,但没有成功。
我不知道应该将哪些变量声明为正则表达式提取器。
我已经使用了 Recording Controller,但这还不够。
这是我帖子中的示例参数:
路径:
${path}?$$ajaxid=view%3A_id1%3A_id3%3AcallbackInfo%3AtabPanel1%3A_id47%3ApanelResultUpdate
参数(名称/值/编码/包含等于):
view:_id1:_id3:callbackInfo:tabPanel1:_id47:txtIDClient true true view:_id1:_id3:callbackInfo:tabPanel1:_id47:txtCompanyName true true view:_id1:_id3:callbackInfo:tabPanel1:_id47:inputText1 true true view:_id1:_id3:callbackInfo:tabPanel1:_id47:rbState 1 true true view:_id1:_id3:callbackInfo:tabPanel1:_id47:inputHiddenKeyPress true true $$viewid !dgb336swku! true true $$xspsubmitid view:_id1:_id3:callbackInfo:tabPanel1:_id47:eventHandler1 true true $$xspexecid true true $$xspsubmitvalue true true $$xspsubmitscroll 0|0 true true view:_id1 view:_id1 true true
谢谢。
最佳答案
您需要在第一次请求时提取的唯一 post 参数是 $$viewid。这将使您能够在以下请求中访问正确的组件树。
当然你应该确保 HTTP cookie 管理器在正确的位置(否则你将无法保持 servlet 和 notes session )
它对我有用,所以考虑到这两点你应该能够运行压力测试。
关于jsf - 使用 jMeter 测试 xPage 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16083583/