随笔分类 -  WebLoad

摘要:WebLOAD provides an embedded, third-party XML parser object to improve the multi-platform support for XML parsing within the WebLOAD environment. The 阅读全文
posted @ 2015-10-19 18:45 tomweng 阅读(254) 评论(0) 推荐(0)
摘要:Parsing the XML Responseget the root node: var rootNode = document.wlXmls[0].XMLDocument.documentElementget the root node's name : rootNode.nodeNamege... 阅读全文
posted @ 2014-12-26 10:46 tomweng 阅读(284) 评论(0) 推荐(0)
摘要://initial the Agendafunction InitAgenda(){ wlGlobals.SaveHeaders = true; wlGlobals.SaveSource = true; IncludeFile("myFunctionLib.js"); // include a... 阅读全文
posted @ 2014-12-19 17:18 tomweng 阅读(470) 评论(0) 推荐(0)
摘要:服务器返回Json格式的响应内容经常是以 String (txt) 形式返回给客户端。客户端需要把 文本形式的内容还原为Json格式以进一步做处理(如,取得返回内容的一个值作为下个请求的一个输入)。这就要用到 一个函数 evel()。 具体做法如下:Parsing the JSON Response... 阅读全文
posted @ 2014-12-11 15:09 tomweng 阅读(409) 评论(0) 推荐(0)
摘要:WebLoad 对于模拟一个HTTP 请求,一般都是 由以下三部分组成,并把这三部分包在一个Transaction里(从BeginTransation 到 EndTransaction 为止):1. request header or cookiea) request header, 即发送HTTP... 阅读全文
posted @ 2014-12-03 17:28 tomweng 阅读(999) 评论(0) 推荐(0)