有人知道如何使用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和注释会话)
它对我有用,因此考虑到这两点,您应该可以运行压力测试。