Loadrunner平台1.9环境APP成功录制并调试成功后的脚本备份

Posted zhuzhubaoya

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Loadrunner平台1.9环境APP成功录制并调试成功后的脚本备份相关的知识,希望对你有一定的参考价值。

1.录制相关Loadrunner及录制的APP所在手机网络代理相关设置请参考日志:http://www.cnblogs.com/zhuzhubaoya/p/9152022.html

2.调试成功的脚本备份如下:

说明:以下脚本中比较重要的几个关联函数分别是“tokenid”、“attemptid”、"qubaid",实际上“sesskeyid”可有可没有(咨询过开发,并且实际录制脚本中每道题的sesskey值都不一样,这里app改版后可能就会一致了,这里不管sesskey值就可以回看成功了),这里总结一个规律,针对我们平台的关联函数如何判断取的值对不对,可以在录制之后记录一下attempt和qubaid的值,看看二者的差值是多少,如果回放时候取到的对应attemptid和qubaid的差值同之前录制时候二者差值一致,基本就是取对了,题目翻页基本上就能成功,反之就是取得有问题,需要检查进行重新取值。

  1 Action()
  2 {
  3 
  4     web_url("siteurl.php",
  5         "URL=http://cloud.pingnanlearning.com/super//pingnan/app/siteurl.php?idnumber=l",
  6         "TargetFrame=",
  7         "Resource=0",
  8         "RecContentType=text/html",
  9         "Referer=",
 10         "Snapshot=t21.inf",
 11         "Mode=HTML",
 12         LAST);
 13 
 14     web_reg_save_param_ex(
 15         "ParamName=tokenid",
 16         "LB={"token":"",
 17         "RB="}",
 18         SEARCH_FILTERS,
 19         LAST);
 20 //{"token":"{tokenid}"}
 21 
 22     web_submit_data("token.php",
 23         "Action=http://10.10.1.9/super/login/token.php",
 24         "Method=POST",
 25         "TargetFrame=",
 26         "RecContentType=application/json",
 27         "Referer=",
 28         "Snapshot=t22.inf",
 29         "Mode=HTML",
 30         ITEMDATA,
 31         "Name=username", "Value=grace4", ENDITEM,
 32         "Name=password", "Value=1", ENDITEM,
 33         "Name=service", "Value=pingnan_webservice", ENDITEM,
 34         "Name=appid", "Value=com.pingnanlearning.app", ENDITEM,
 35         "Name=name", "Value=undefined", ENDITEM,
 36         "Name=model", "Value=vivo X9", ENDITEM,
 37         "Name=platform", "Value=android", ENDITEM,
 38         "Name=version", "Value=6.0.1", ENDITEM,
 39         "Name=pushid", "Value=undefined", ENDITEM,
 40         "Name=uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
 41         LAST);
 42 
 43     web_submit_data("server.php",
 44         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
 45         "Method=POST",
 46         "TargetFrame=",
 47         "RecContentType=application/json",
 48         "Referer=",
 49         "Snapshot=t23.inf",
 50         "Mode=HTML",
 51         ITEMDATA,
 52         "Name=wsfunction", "Value=pingnan_webservice_get_siteinfo", ENDITEM,
 53         "Name=wstoken", "Value={tokenid}", ENDITEM,
 54         "Name=app_ver", "Value=18", ENDITEM,
 55         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
 56         LAST);
 57 
 58     web_url("appjs.php",
 59         "URL=http://10.10.1.9/super/pingnan/app/js/appjs.php",
 60         "TargetFrame=",
 61         "Resource=0",
 62         "RecContentType=text/html",
 63         "Referer=",
 64         "Snapshot=t24.inf",
 65         "Mode=HTML",
 66         LAST);
 67 
 68     web_url("appcss.php",
 69         "URL=http://10.10.1.9/super/pingnan/app/css/appcss.php",
 70         "TargetFrame=",
 71         "Resource=0",
 72         "RecContentType=text/html",
 73         "Referer=",
 74         "Snapshot=t25.inf",
 75         "Mode=HTML",
 76         LAST);
 77 
 78     web_submit_data("server.php_2",
 79         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
 80         "Method=POST",
 81         "TargetFrame=",
 82         "RecContentType=application/json",
 83         "Referer=",
 84         "Snapshot=t26.inf",
 85         "Mode=HTML",
 86         ITEMDATA,
 87         "Name=component", "Value=mobile", ENDITEM,
 88         "Name=lang", "Value=zh_cn", ENDITEM,
 89         "Name=wsfunction", "Value=pingnan_get_component_strings", ENDITEM,
 90         "Name=wstoken", "Value={tokenid}", ENDITEM,
 91         "Name=app_ver", "Value=18", ENDITEM,
 92         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
 93         LAST);
 94 
 95     web_submit_data("server.php_3",
 96         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
 97         "Method=POST",
 98         "TargetFrame=",
 99         "RecContentType=application/json",
100         "Referer=",
101         "Snapshot=t27.inf",
102         "Mode=HTML",
103         ITEMDATA,
104         "Name=cur_app_ver", "Value=18", ENDITEM,
105         "Name=wsfunction", "Value=pingnan_check_app_version", ENDITEM,
106         "Name=wstoken", "Value={tokenid}", ENDITEM,
107         "Name=app_ver", "Value=18", ENDITEM,
108         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
109         LAST);
110 
111     web_submit_data("server.php_4",
112         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
113         "Method=POST",
114         "TargetFrame=",
115         "RecContentType=application/json",
116         "Referer=",
117         "Snapshot=t28.inf",
118         "Mode=HTML",
119         ITEMDATA,
120         "Name=wsfunction", "Value=pingnan_get_headmenus", ENDITEM,
121         "Name=wstoken", "Value={tokenid}", ENDITEM,
122         "Name=app_ver", "Value=18", ENDITEM,
123         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
124         LAST);
125 
126     web_submit_data("server.php_5",
127         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
128         "Method=POST",
129         "TargetFrame=",
130         "RecContentType=application/json",
131         "Referer=",
132         "Snapshot=t29.inf",
133         "Mode=HTML",
134         ITEMDATA,
135         "Name=wsfunction", "Value=pingnan_get_logo", ENDITEM,
136         "Name=wstoken", "Value={tokenid}", ENDITEM,
137         "Name=app_ver", "Value=18", ENDITEM,
138         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
139         LAST);
140 
141     web_submit_data("server.php_6",
142         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
143         "Method=POST",
144         "TargetFrame=",
145         "RecContentType=application/json",
146         "Referer=",
147         "Snapshot=t30.inf",
148         "Mode=HTML",
149         ITEMDATA,
150         "Name=appid", "Value=com.pingnanlearning.app", ENDITEM,
151         "Name=name", "Value=undefined", ENDITEM,
152         "Name=model", "Value=vivo X9", ENDITEM,
153         "Name=platform", "Value=Android", ENDITEM,
154         "Name=version", "Value=6.0.1", ENDITEM,
155         "Name=pushid", "Value=140fe1da9e9d6eb832d", ENDITEM,
156         "Name=uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
157         "Name=wsfunction", "Value=pingnan_refresh_user_device", ENDITEM,
158         "Name=wstoken", "Value={tokenid}", ENDITEM,
159         "Name=app_ver", "Value=18", ENDITEM,
160         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
161         LAST);
162 
163     web_submit_data("server.php_7",
164         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
165         "Method=POST",
166         "TargetFrame=",
167         "RecContentType=application/json",
168         "Referer=",
169         "Snapshot=t31.inf",
170         "Mode=HTML",
171         ITEMDATA,
172         "Name=wsfunction", "Value=pingnan_get_information_banner", ENDITEM,
173         "Name=wstoken", "Value={tokenid}", ENDITEM,
174         "Name=app_ver", "Value=18", ENDITEM,
175         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
176         LAST);
177 
178     web_submit_data("server.php_8",
179         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
180         "Method=POST",
181         "TargetFrame=",
182         "RecContentType=application/json",
183         "Referer=",
184         "Snapshot=t32.inf",
185         "Mode=HTML",
186         ITEMDATA,
187         "Name=id", "Value=1", ENDITEM,
188         "Name=f_type", "Value=news", ENDITEM,
189         "Name=id_type", "Value=course", ENDITEM,
190         "Name=wsfunction", "Value=pingnan_mod_forum_get_discussions", ENDITEM,
191         "Name=wstoken", "Value={tokenid}", ENDITEM,
192         "Name=app_ver", "Value=18", ENDITEM,
193         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
194         LAST);
195 
196     web_submit_data("server.php_9",
197         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
198         "Method=POST",
199         "TargetFrame=",
200         "RecContentType=application/json",
201         "Referer=",
202         "Snapshot=t33.inf",
203         "Mode=HTML",
204         ITEMDATA,
205         "Name=search_params_str", "Value=""", ENDITEM,
206         "Name=wsfunction", "Value=pingnan_get_all_courses", ENDITEM,
207         "Name=wstoken", "Value={tokenid}", ENDITEM,
208         "Name=app_ver", "Value=18", ENDITEM,
209         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
210         LAST);
211 
212     web_submit_data("server.php_10",
213         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
214         "Method=POST",
215         "TargetFrame=",
216         "RecContentType=application/json",
217         "Referer=",
218         "Snapshot=t34.inf",
219         "Mode=HTML",
220         ITEMDATA,
221         "Name=courseid", "Value=990", ENDITEM,
222         "Name=wsfunction", "Value=pingnan_course_get_contents", ENDITEM,
223         "Name=wstoken", "Value={tokenid}", ENDITEM,
224         "Name=app_ver", "Value=18", ENDITEM,
225         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
226         LAST);
227 
228     lr_think_time(6);
229 
230         
231     web_submit_data("server.php_11",
232         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
233         "Method=POST",
234         "TargetFrame=",
235         "RecContentType=application/json",
236         "Referer=",
237         "Snapshot=t35.inf",
238         "Mode=HTML",
239         ITEMDATA,
240         "Name=cmid", "Value=4913", ENDITEM,
241         "Name=wsfunction", "Value=pingnan_get_quiz_view", ENDITEM,
242         "Name=wstoken", "Value={tokenid}", ENDITEM,
243         "Name=app_ver", "Value=18", ENDITEM,
244         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
245         LAST);
246 
247     web_reg_save_param_ex(
248         "ParamName=attemptid",
249         "LB=attemptid":",
250         "RB=,"num_type"",
251         SEARCH_FILTERS,
252         LAST);
253   
254     web_reg_save_param_ex(
255         "ParamName=sesskeyid",
256         "LB=&sesskey=",
257         "RB=&amp",
258         SEARCH_FILTERS,
259         LAST);
260 
261     web_reg_save_param_ex(
262         "ParamName=qubaid",
263         "LB=&qubaid=",
264         "RB=&qid=",
265         SEARCH_FILTERS,
266         LAST);
267 
268     web_submit_data("server.php_12",
269         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
270         "Method=POST",
271         "TargetFrame=",
272         "RecContentType=application/json",
273         "Referer=",
274         "Snapshot=t36.inf",
275         "Mode=HTML",
276         ITEMDATA,
277         "Name=cmid", "Value=4913", ENDITEM,
278         "Name=wsfunction", "Value=pingnan_start_quiz", ENDITEM,
279         "Name=wstoken", "Value={tokenid}", ENDITEM,
280         "Name=app_ver", "Value=18", ENDITEM,
281         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
282         LAST);
283 
284 
285 
286     web_submit_data("server.php_13",
287         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
288         "Method=POST",
289         "TargetFrame=",
290         "RecContentType=application/json",
291         "Referer=",
292         "Snapshot=t37.inf",
293         "Mode=HTML",
294         ITEMDATA,
295         "Name=cmid", "Value=4913", ENDITEM,
296         "Name=attemptid", "Value={attemptid}", ENDITEM,
297         "Name=num", "Value=1", ENDITEM,
298         "Name=next_num", "Value=2", ENDITEM,
299         "Name=app_next", "Value=1", ENDITEM,
300         "Name=app_finishattempt", "Value=0", ENDITEM,
301         "Name=from_data", "Value=[{"name":"q{qubaid}:1_:sequencecheck","value":"1"},{"name":"q{qubaid}:1_:sequencenumber","value":"0"},{"name":"q{qubaid}:1_answer","value":""},{"name":"q{qubaid}:1_answerformat","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"0"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"1"}]", ENDITEM,
302         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
303         "Name=wstoken", "Value={tokenid}", ENDITEM,
304         "Name=app_ver", "Value=18", ENDITEM,
305         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
306         LAST);
307 
308     
309 
310     lr_think_time(8);
311 
312     
313 
314     web_submit_data("server.php_14",
315         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
316         "Method=POST",
317         "TargetFrame=",
318         "RecContentType=application/json",
319         "Referer=",
320         "Snapshot=t38.inf",
321         "Mode=HTML",
322         ITEMDATA,
323         "Name=cmid", "Value=4913", ENDITEM,
324         "Name=attemptid", "Value={attemptid}", ENDITEM,
325         "Name=num", "Value=2", ENDITEM,
326         "Name=next_num", "Value=3", ENDITEM,
327         "Name=app_next", "Value=1", ENDITEM,
328         "Name=app_finishattempt", "Value=0", ENDITEM,
329         "Name=from_data", "Value=[{"name":"q{qubaid}:2_:sequencecheck","value":"1"},{"name":"q{qubaid}:2_:stemorder","value":"2284,2282,2283"},{"name":"q{qubaid}:2_:choiceorder","value":"2283,2282,2284"},{"name":"q{qubaid}:2_:sequencenumber","value":"0"},{"name":"q{qubaid}:2_sub0","value":"3"},{"name":"q{qubaid}:2_sub1","value":"2"},{"name":"q{qubaid}:2_sub2","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"1"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"2"}]", ENDITEM,
330         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
331         "Name=wstoken", "Value={tokenid}", ENDITEM,
332         "Name=app_ver", "Value=18", ENDITEM,
333         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
334         LAST);
335 
336     web_submit_data("server.php_15",
337         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
338         "Method=POST",
339         "TargetFrame=",
340         "RecContentType=application/json",
341         "Referer=",
342         "Snapshot=t39.inf",
343         "Mode=HTML",
344         ITEMDATA,
345         "Name=cmid", "Value=4913", ENDITEM,
346         "Name=attemptid", "Value={attemptid}", ENDITEM,
347         "Name=num", "Value=3", ENDITEM,
348         "Name=next_num", "Value=4", ENDITEM,
349         "Name=app_next", "Value=1", ENDITEM,
350         "Name=app_finishattempt", "Value=0", ENDITEM,
351         "Name=from_data", "Value=[{"name":"q{qubaid}:3_:sequencecheck","value":"1"},{"name":"q{qubaid}:3_:order","value":"11283,11282,11281,11280"},{"name":"q{qubaid}:3_:sequencenumber","value":"0"},{"name":"q{qubaid}:3_answer","value":"3"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"2"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"3"}]", ENDITEM,
352         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
353         "Name=wstoken", "Value={tokenid}", ENDITEM,
354         "Name=app_ver", "Value=18", ENDITEM,
355         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
356         LAST);
357 
358     lr_think_time(5);
359 
360     web_submit_data("server.php_16",
361         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
362         "Method=POST",
363         "TargetFrame=",
364         "RecContentType=application/json",
365         "Referer=",
366         "Snapshot=t40.inf",
367         "Mode=HTML",
368         ITEMDATA,
369         "Name=cmid", "Value=4913", ENDITEM,
370         "Name=attemptid", "Value={attemptid}", ENDITEM,
371         "Name=num", "Value=4", ENDITEM,
372         "Name=next_num", "Value=5", ENDITEM,
373         "Name=app_next", "Value=1", ENDITEM,
374         "Name=app_finishattempt", "Value=0", ENDITEM,
375         "Name=from_data", "Value=[{"name":"q{qubaid}:4_:sequencecheck","value":"1"},{"name":"q{qubaid}:4_:order","value":"11286,11284,11285,11287"},{"name":"q{qubaid}:4_:sequencenumber","value":"0"},{"name":"q{qubaid}:4_answer","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"3"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"4"}]", ENDITEM,
376         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
377         "Name=wstoken", "Value={tokenid}", ENDITEM,
378         "Name=app_ver", "Value=18", ENDITEM,
379         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
380         LAST);
381 
382     web_submit_data("server.php_17",
383         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
384         "Method=POST",
385         "TargetFrame=",
386         "RecContentType=application/json",
387         "Referer=",
388         "Snapshot=t41.inf",
389         "Mode=HTML",
390         ITEMDATA,
391         "Name=cmid", "Value=4913", ENDITEM,
392         "Name=attemptid", "Value={attemptid}", ENDITEM,
393         "Name=num", "Value=5", ENDITEM,
394         "Name=next_num", "Value=6", ENDITEM,
395         "Name=app_next", "Value=1", ENDITEM,
396         "Name=app_finishattempt", "Value=0", ENDITEM,
397         "Name=from_data", "Value=[{"name":"q{qubaid}:5_:sequencecheck","value":"1"},{"name":"q{qubaid}:5_:order","value":"11291,11289,11288,11290"},{"name":"q{qubaid}:5_:sequencenumber","value":"0"},{"name":"q{qubaid}:5_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"4"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"5"}]", ENDITEM,
398         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
399         "Name=wstoken", "Value={tokenid}", ENDITEM,
400         "Name=app_ver", "Value=18", ENDITEM,
401         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
402         LAST);
403 
404     web_submit_data("server.php_18",
405         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
406         "Method=POST",
407         "TargetFrame=",
408         "RecContentType=application/json",
409         "Referer=",
410         "Snapshot=t42.inf",
411         "Mode=HTML",
412         ITEMDATA,
413         "Name=cmid", "Value=4913", ENDITEM,
414         "Name=attemptid", "Value={attemptid}", ENDITEM,
415         "Name=num", "Value=6", ENDITEM,
416         "Name=next_num", "Value=7", ENDITEM,
417         "Name=app_next", "Value=1", ENDITEM,
418         "Name=app_finishattempt", "Value=0", ENDITEM,
419         "Name=from_data", "Value=[{"name":"q{qubaid}:6_:sequencecheck","value":"1"},{"name":"q{qubaid}:6_:order","value":"11318,11319,11317,11316"},{"name":"q{qubaid}:6_:sequencenumber","value":"0"},{"name":"q{qubaid}:6_answer","value":"3"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"5"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"6"}]", ENDITEM,
420         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
421         "Name=wstoken", "Value={tokenid}", ENDITEM,
422         "Name=app_ver", "Value=18", ENDITEM,
423         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
424         LAST);
425 
426     web_submit_data("server.php_19",
427         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
428         "Method=POST",
429         "TargetFrame=",
430         "RecContentType=application/json",
431         "Referer=",
432         "Snapshot=t43.inf",
433         "Mode=HTML",
434         ITEMDATA,
435         "Name=cmid", "Value=4913", ENDITEM,
436         "Name=attemptid", "Value={attemptid}", ENDITEM,
437         "Name=num", "Value=7", ENDITEM,
438         "Name=next_num", "Value=8", ENDITEM,
439         "Name=app_next", "Value=1", ENDITEM,
440         "Name=app_finishattempt", "Value=0", ENDITEM,
441         "Name=from_data", "Value=[{"name":"q{qubaid}:7_:sequencecheck","value":"1"},{"name":"q{qubaid}:7_:order","value":"11321,11322,11323,11320"},{"name":"q{qubaid}:7_:sequencenumber","value":"0"},{"name":"q{qubaid}:7_answer","value":"3"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"6"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"7"}]", ENDITEM,
442         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
443         "Name=wstoken", "Value={tokenid}", ENDITEM,
444         "Name=app_ver", "Value=18", ENDITEM,
445         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
446         LAST);
447 
448     web_submit_data("server.php_20",
449         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
450         "Method=POST",
451         "TargetFrame=",
452         "RecContentType=application/json",
453         "Referer=",
454         "Snapshot=t44.inf",
455         "Mode=HTML",
456         ITEMDATA,
457         "Name=cmid", "Value=4913", ENDITEM,
458         "Name=attemptid", "Value={attemptid}", ENDITEM,
459         "Name=num", "Value=8", ENDITEM,
460         "Name=next_num", "Value=9", ENDITEM,
461         "Name=app_next", "Value=1", ENDITEM,
462         "Name=app_finishattempt", "Value=0", ENDITEM,
463         "Name=from_data", "Value=[{"name":"q{qubaid}:8_:sequencecheck","value":"1"},{"name":"q{qubaid}:8_:order","value":"11325,11327,11324,11326"},{"name":"q{qubaid}:8_:sequencenumber","value":"0"},{"name":"q{qubaid}:8_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"7"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"8"}]", ENDITEM,
464         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
465         "Name=wstoken", "Value={tokenid}", ENDITEM,
466         "Name=app_ver", "Value=18", ENDITEM,
467         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
468         LAST);
469 
470     web_submit_data("server.php_21",
471         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
472         "Method=POST",
473         "TargetFrame=",
474         "RecContentType=application/json",
475         "Referer=",
476         "Snapshot=t45.inf",
477         "Mode=HTML",
478         ITEMDATA,
479         "Name=cmid", "Value=4913", ENDITEM,
480         "Name=attemptid", "Value={attemptid}", ENDITEM,
481         "Name=num", "Value=9", ENDITEM,
482         "Name=next_num", "Value=10", ENDITEM,
483         "Name=app_next", "Value=1", ENDITEM,
484         "Name=app_finishattempt", "Value=0", ENDITEM,
485         "Name=from_data", "Value=[{"name":"q{qubaid}:9_:sequencecheck","value":"1"},{"name":"q{qubaid}:9_:order","value":"11293,11294,11292,11295"},{"name":"q{qubaid}:9_:sequencenumber","value":"0"},{"name":"q{qubaid}:9_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"8"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"9"}]", ENDITEM,
486         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
487         "Name=wstoken", "Value={tokenid}", ENDITEM,
488         "Name=app_ver", "Value=18", ENDITEM,
489         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
490         LAST);
491 
492     web_submit_data("server.php_22",
493         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
494         "Method=POST",
495         "TargetFrame=",
496         "RecContentType=application/json",
497         "Referer=",
498         "Snapshot=t46.inf",
499         "Mode=HTML",
500         ITEMDATA,
501         "Name=cmid", "Value=4913", ENDITEM,
502         "Name=attemptid", "Value={attemptid}", ENDITEM,
503         "Name=num", "Value=10", ENDITEM,
504         "Name=next_num", "Value=11", ENDITEM,
505         "Name=app_next", "Value=1", ENDITEM,
506         "Name=app_finishattempt", "Value=0", ENDITEM,
507         "Name=from_data", "Value=[{"name":"q{qubaid}:10_:sequencecheck","value":"1"},{"name":"q{qubaid}:10_:order","value":"11299,11297,11296,11298"},{"name":"q{qubaid}:10_:sequencenumber","value":"0"},{"name":"q{qubaid}:10_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"9"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"10"}]", ENDITEM,
508         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
509         "Name=wstoken", "Value={tokenid}", ENDITEM,
510         "Name=app_ver", "Value=18", ENDITEM,
511         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
512         LAST);
513 
514     web_submit_data("server.php_23",
515         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
516         "Method=POST",
517         "TargetFrame=",
518         "RecContentType=application/json",
519         "Referer=",
520         "Snapshot=t47.inf",
521         "Mode=HTML",
522         ITEMDATA,
523         "Name=cmid", "Value=4913", ENDITEM,
524         "Name=attemptid", "Value={attemptid}", ENDITEM,
525         "Name=num", "Value=11", ENDITEM,
526         "Name=next_num", "Value=12", ENDITEM,
527         "Name=app_next", "Value=1", ENDITEM,
528         "Name=app_finishattempt", "Value=0", ENDITEM,
529         "Name=from_data", "Value=[{"name":"q{qubaid}:11_:sequencecheck","value":"1"},{"name":"q{qubaid}:11_:order","value":"11328,11330,11331,11329"},{"name":"q{qubaid}:11_:sequencenumber","value":"0"},{"name":"q{qubaid}:11_choice0","value":"0"},{"name":"q{qubaid}:11_choice0","value":"1"},{"name":"q{qubaid}:11_choice1","value":"0"},{"name":"q{qubaid}:11_choice2","value":"0"},{"name":"q{qubaid}:11_choice3","value":"0"},{"name":"q{qubaid}:11_choice3","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"10"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"11"}]", ENDITEM,
530         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
531         "Name=wstoken", "Value={tokenid}", ENDITEM,
532         "Name=app_ver", "Value=18", ENDITEM,
533         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
534         LAST);
535 
536     web_submit_data("server.php_24",
537         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
538         "Method=POST",
539         "TargetFrame=",
540         "RecContentType=application/json",
541         "Referer=",
542         "Snapshot=t48.inf",
543         "Mode=HTML",
544         ITEMDATA,
545         "Name=cmid", "Value=4913", ENDITEM,
546         "Name=attemptid", "Value={attemptid}", ENDITEM,
547         "Name=num", "Value=12", ENDITEM,
548         "Name=next_num", "Value=13", ENDITEM,
549         "Name=app_next", "Value=1", ENDITEM,
550         "Name=app_finishattempt", "Value=0", ENDITEM,
551         "Name=from_data", "Value=[{"name":"q{qubaid}:12_:sequencecheck","value":"1"},{"name":"q{qubaid}:12_:order","value":"11303,11300,11301,11302"},{"name":"q{qubaid}:12_:sequencenumber","value":"0"},{"name":"q{qubaid}:12_answer","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"11"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"12"}]", ENDITEM,
552         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
553         "Name=wstoken", "Value={tokenid}", ENDITEM,
554         "Name=app_ver", "Value=18", ENDITEM,
555         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
556         LAST);
557 
558     web_submit_data("server.php_25",
559         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
560         "Method=POST",
561         "TargetFrame=",
562         "RecContentType=application/json",
563         "Referer=",
564         "Snapshot=t49.inf",
565         "Mode=HTML",
566         ITEMDATA,
567         "Name=cmid", "Value=4913", ENDITEM,
568         "Name=attemptid", "Value={attemptid}", ENDITEM,
569         "Name=num", "Value=13", ENDITEM,
570         "Name=next_num", "Value=14", ENDITEM,
571         "Name=app_next", "Value=1", ENDITEM,
572         "Name=app_finishattempt", "Value=0", ENDITEM,
573         "Name=from_data", "Value=[{"name":"q{qubaid}:13_:sequencecheck","value":"1"},{"name":"q{qubaid}:13_:order","value":"11269,11268,11270,11271"},{"name":"q{qubaid}:13_:sequencenumber","value":"0"},{"name":"q{qubaid}:13_answer","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"12"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"13"}]", ENDITEM,
574         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
575         "Name=wstoken", "Value={tokenid}", ENDITEM,
576         "Name=app_ver", "Value=18", ENDITEM,
577         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
578         LAST);
579 
580     web_submit_data("server.php_26",
581         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
582         "Method=POST",
583         "TargetFrame=",
584         "RecContentType=application/json",
585         "Referer=",
586         "Snapshot=t50.inf",
587         "Mode=HTML",
588         ITEMDATA,
589         "Name=cmid", "Value=4913", ENDITEM,
590         "Name=attemptid", "Value={attemptid}", ENDITEM,
591         "Name=num", "Value=14", ENDITEM,
592         "Name=next_num", "Value=15", ENDITEM,
593         "Name=app_next", "Value=1", ENDITEM,
594         "Name=app_finishattempt", "Value=0", ENDITEM,
595         "Name=from_data", "Value=[{"name":"q{qubaid}:14_:sequencecheck","value":"1"},{"name":"q{qubaid}:14_:order","value":"11274,11272,11275,11273"},{"name":"q{qubaid}:14_:sequencenumber","value":"0"},{"name":"q{qubaid}:14_answer","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"13"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"14"}]", ENDITEM,
596         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
597         "Name=wstoken", "Value={tokenid}", ENDITEM,
598         "Name=app_ver", "Value=18", ENDITEM,
599         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
600         LAST);
601 
602     web_submit_data("server.php_27",
603         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
604         "Method=POST",
605         "TargetFrame=",
606         "RecContentType=application/json",
607         "Referer=",
608         "Snapshot=t51.inf",
609         "Mode=HTML",
610         ITEMDATA,
611         "Name=cmid", "Value=4913", ENDITEM,
612         "Name=attemptid", "Value={attemptid}", ENDITEM,
613         "Name=num", "Value=15", ENDITEM,
614         "Name=next_num", "Value=16", ENDITEM,
615         "Name=app_next", "Value=1", ENDITEM,
616         "Name=app_finishattempt", "Value=0", ENDITEM,
617         "Name=from_data", "Value=[{"name":"q{qubaid}:15_:sequencecheck","value":"1"},{"name":"q{qubaid}:15_:order","value":"11277,11278,11276,11279"},{"name":"q{qubaid}:15_:sequencenumber","value":"0"},{"name":"q{qubaid}:15_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"14"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"15"}]", ENDITEM,
618         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
619         "Name=wstoken", "Value={tokenid}", ENDITEM,
620         "Name=app_ver", "Value=18", ENDITEM,
621         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
622         LAST);
623 
624     web_submit_data("server.php_28",
625         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
626         "Method=POST",
627         "TargetFrame=",
628         "RecContentType=application/json",
629         "Referer=",
630         "Snapshot=t52.inf",
631         "Mode=HTML",
632         ITEMDATA,
633         "Name=cmid", "Value=4913", ENDITEM,
634         "Name=attemptid", "Value={attemptid}", ENDITEM,
635         "Name=num", "Value=16", ENDITEM,
636         "Name=next_num", "Value=17", ENDITEM,
637         "Name=app_next", "Value=1", ENDITEM,
638         "Name=app_finishattempt", "Value=0", ENDITEM,
639         "Name=from_data", "Value=[{"name":"q{qubaid}:16_:sequencecheck","value":"1"},{"name":"q{qubaid}:16_:order","value":"11306,11307,11304,11305"},{"name":"q{qubaid}:16_:sequencenumber","value":"0"},{"name":"q{qubaid}:16_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"15"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"16"}]", ENDITEM,
640         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
641         "Name=wstoken", "Value={tokenid}", ENDITEM,
642         "Name=app_ver", "Value=18", ENDITEM,
643         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
644         LAST);
645 
646     lr_think_time(5);
647 
648     web_submit_data("server.php_29",
649         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
650         "Method=POST",
651         "TargetFrame=",
652         "RecContentType=application/json",
653         "Referer=",
654         "Snapshot=t53.inf",
655         "Mode=HTML",
656         ITEMDATA,
657         "Name=cmid", "Value=4913", ENDITEM,
658         "Name=attemptid", "Value={attemptid}", ENDITEM,
659         "Name=num", "Value=17", ENDITEM,
660         "Name=next_num", "Value=18", ENDITEM,
661         "Name=app_next", "Value=1", ENDITEM,
662         "Name=app_finishattempt", "Value=0", ENDITEM,
663         "Name=from_data", "Value=[{"name":"q{qubaid}:17_:sequencecheck","value":"1"},{"name":"q{qubaid}:17_:order","value":"11311,11308,11309,11310"},{"name":"q{qubaid}:17_:sequencenumber","value":"0"},{"name":"q{qubaid}:17_answer","value":"1"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"16"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"17"}]", ENDITEM,
664         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
665         "Name=wstoken", "Value={tokenid}", ENDITEM,
666         "Name=app_ver", "Value=18", ENDITEM,
667         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
668         LAST);
669 
670     web_submit_data("server.php_30",
671         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
672         "Method=POST",
673         "TargetFrame=",
674         "RecContentType=application/json",
675         "Referer=",
676         "Snapshot=t54.inf",
677         "Mode=HTML",
678         ITEMDATA,
679         "Name=cmid", "Value=4913", ENDITEM,
680         "Name=attemptid", "Value={attemptid}", ENDITEM,
681         "Name=num", "Value=18", ENDITEM,
682         "Name=next_num", "Value=19", ENDITEM,
683         "Name=app_next", "Value=1", ENDITEM,
684         "Name=app_finishattempt", "Value=0", ENDITEM,
685         "Name=from_data", "Value=[{"name":"q{qubaid}:18_:sequencecheck","value":"1"},{"name":"q{qubaid}:18_:order","value":"11313,11315,11312,11314"},{"name":"q{qubaid}:18_:sequencenumber","value":"0"},{"name":"q{qubaid}:18_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"17"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"18"}]", ENDITEM,
686         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
687         "Name=wstoken", "Value={tokenid}", ENDITEM,
688         "Name=app_ver", "Value=18", ENDITEM,
689         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
690         LAST);
691 
692     web_submit_data("server.php_31",
693         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
694         "Method=POST",
695         "TargetFrame=",
696         "RecContentType=application/json",
697         "Referer=",
698         "Snapshot=t55.inf",
699         "Mode=HTML",
700         ITEMDATA,
701         "Name=cmid", "Value=4913", ENDITEM,
702         "Name=attemptid", "Value={attemptid}", ENDITEM,
703         "Name=num", "Value=19", ENDITEM,
704         "Name=next_num", "Value=20", ENDITEM,
705         "Name=app_next", "Value=1", ENDITEM,
706         "Name=app_finishattempt", "Value=0", ENDITEM,
707         "Name=from_data", "Value=[{"name":"q{qubaid}:19_:sequencecheck","value":"1"},{"name":"q{qubaid}:19_:order","value":"11257,11259,11256,11258"},{"name":"q{qubaid}:19_:sequencenumber","value":"0"},{"name":"q{qubaid}:19_answer","value":"2"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"18"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"19"}]", ENDITEM,
708         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
709         "Name=wstoken", "Value={tokenid}", ENDITEM,
710         "Name=app_ver", "Value=18", ENDITEM,
711         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
712         LAST);
713 
714     web_submit_data("server.php_32",
715         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
716         "Method=POST",
717         "TargetFrame=",
718         "RecContentType=application/json",
719         "Referer=",
720         "Snapshot=t56.inf",
721         "Mode=HTML",
722         ITEMDATA,
723         "Name=cmid", "Value=4913", ENDITEM,
724         "Name=attemptid", "Value={attemptid}", ENDITEM,
725         "Name=num", "Value=20", ENDITEM,
726         "Name=next_num", "Value=21", ENDITEM,
727         "Name=app_next", "Value=1", ENDITEM,
728         "Name=app_finishattempt", "Value=0", ENDITEM,
729         "Name=from_data", "Value=[{"name":"q{qubaid}:20_:sequencecheck","value":"1"},{"name":"q{qubaid}:20_:order","value":"11263,11262,11261,11260"},{"name":"q{qubaid}:20_:sequencenumber","value":"0"},{"name":"q{qubaid}:20_answer","value":"3"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"19"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"20"}]", ENDITEM,
730         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
731         "Name=wstoken", "Value={tokenid}", ENDITEM,
732         "Name=app_ver", "Value=18", ENDITEM,
733         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
734         LAST);
735 
736     web_submit_data("server.php_33",
737         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
738         "Method=POST",
739         "TargetFrame=",
740         "RecContentType=application/json",
741         "Referer=",
742         "Snapshot=t57.inf",
743         "Mode=HTML",
744         ITEMDATA,
745         "Name=cmid", "Value=4913", ENDITEM,
746         "Name=attemptid", "Value={attemptid}", ENDITEM,
747         "Name=num", "Value=21", ENDITEM,
748         "Name=next_num", "Value=22", ENDITEM,
749         "Name=app_next", "Value=1", ENDITEM,
750         "Name=app_finishattempt", "Value=0", ENDITEM,
751         "Name=from_data", "Value=[{"name":"q{qubaid}:21_:sequencecheck","value":"1"},{"name":"q{qubaid}:21_:order","value":"11264,11265,11266,11267"},{"name":"q{qubaid}:21_:sequencenumber","value":"0"},{"name":"q{qubaid}:21_answer","value":"0"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"20"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"21"}]", ENDITEM,
752         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
753         "Name=wstoken", "Value={tokenid}", ENDITEM,
754         "Name=app_ver", "Value=18", ENDITEM,
755         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
756         LAST);
757 
758     lr_think_time(6);
759 
760     web_submit_data("server.php_34",
761         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
762         "Method=POST",
763         "TargetFrame=",
764         "RecContentType=application/json",
765         "Referer=",
766         "Snapshot=t58.inf",
767         "Mode=HTML",
768         ITEMDATA,
769         "Name=cmid", "Value=4913", ENDITEM,
770         "Name=attemptid", "Value={attemptid}", ENDITEM,
771         "Name=num", "Value=22", ENDITEM,
772         "Name=next_num", "Value=23", ENDITEM,
773         "Name=app_next", "Value=1", ENDITEM,
774         "Name=app_finishattempt", "Value=0", ENDITEM,
775         "Name=from_data", "Value=[{"name":"q{qubaid}:22_:sequencecheck","value":"1"},{"name":"q{qubaid}:22_:sequencenumber","value":"0"},{"name":"q{qubaid}:22_answer","value":"北京"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"21"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"22"}]", ENDITEM,
776         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
777         "Name=wstoken", "Value={tokenid}", ENDITEM,
778         "Name=app_ver", "Value=18", ENDITEM,
779         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
780         LAST);
781 
782     lr_think_time(5);
783 
784     web_submit_data("server.php_35",
785         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
786         "Method=POST",
787         "TargetFrame=",
788         "RecContentType=application/json",
789         "Referer=",
790         "Snapshot=t59.inf",
791         "Mode=HTML",
792         ITEMDATA,
793         "Name=cmid", "Value=4913", ENDITEM,
794         "Name=attemptid", "Value={attemptid}", ENDITEM,
795         "Name=num", "Value=23", ENDITEM,
796         "Name=next_num", "Value=-1", ENDITEM,
797         "Name=app_next", "Value=0", ENDITEM,
798         "Name=app_finishattempt", "Value=1", ENDITEM,
799         "Name=from_data", "Value=[{"name":"q{qubaid}:23_:sequencecheck","value":"1"},{"name":"q{qubaid}:23_:sequencenumber","value":"0"},{"name":"q{qubaid}:23_answer","value":"0"},{"name":"attempt","value":"{attemptid}"},{"name":"thispage","value":"22"},{"name":"nextpage","value":""},{"name":"timeup","value":"0"},{"name":"sesskey","value":"{sesskeyid}"},{"name":"scrollpos","value":""},{"name":"slots","value":"23"}]", ENDITEM,
800         "Name=wsfunction", "Value=pingnan_quiz_submit", ENDITEM,
801         "Name=wstoken", "Value={tokenid}", ENDITEM,
802         "Name=app_ver", "Value=18", ENDITEM,
803         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
804         LAST);
805 
806     web_submit_data("server.php_36",
807         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
808         "Method=POST",
809         "TargetFrame=",
810         "RecContentType=application/json",
811         "Referer=",
812         "Snapshot=t60.inf",
813         "Mode=HTML",
814         ITEMDATA,
815         "Name=cmid", "Value=4913", ENDITEM,
816         "Name=wsfunction", "Value=pingnan_get_quiz_view", ENDITEM,
817         "Name=wstoken", "Value={tokenid}", ENDITEM,
818         "Name=app_ver", "Value=18", ENDITEM,
819         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
820         LAST);
821 
822     lr_think_time(5);
823 
824     web_submit_data("server.php_37",
825         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
826         "Method=POST",
827         "TargetFrame=",
828         "RecContentType=application/json",
829         "Referer=",
830         "Snapshot=t61.inf",
831         "Mode=HTML",
832         ITEMDATA,
833         "Name=userid", "Value=22227", ENDITEM,
834         "Name=params_str", "Value={}", ENDITEM,
835         "Name=wsfunction", "Value=pingnan_get_mycenter_newcounts", ENDITEM,
836         "Name=wstoken", "Value={tokenid}", ENDITEM,
837         "Name=app_ver", "Value=18", ENDITEM,
838         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
839         LAST);
840 
841     web_submit_data("server.php_38",
842         "Action=http://10.10.1.9/super/webservice/rest/server.php?moodlewsrestformat=json",
843         "Method=POST",
844         "TargetFrame=",
845         "RecContentType=application/json",
846         "Referer=",
847         "Snapshot=t62.inf",
848         "Mode=HTML",
849         ITEMDATA,
850         "Name=pushid", "Value=140fe1da9e9d6eb832d", ENDITEM,
851         "Name=wsfunction", "Value=pingnan_logout_user_device", ENDITEM,
852         "Name=wstoken", "Value={tokenid}", ENDITEM,
853         "Name=app_ver", "Value=18", ENDITEM,
854         "Name=app_uuid", "Value=b91e6bf8a81b3f2", ENDITEM,
855         LAST);
856 
857     web_url("settings.php",
858         "URL=http://cloud.pingnanlearning.com/super//pingnan/app/settings.php",
859         "TargetFrame=",
860         "Resource=0",
861         "RecContentType=text/html",
862         "Referer=",
863         "Snapshot=t63.inf",
864         "Mode=HTML",
865         LAST);
866 
867     web_url("siteurl.php_2",
868         "URL=http://cloud.pingnanlearning.com/super//pingnan/app/siteurl.php",
869         "TargetFrame=",
870         "Resource=0",
871         "RecContentType=text/html",
872         "Referer=",
873         "Snapshot=t64.inf",
874         "Mode=HTML",
875         LAST);
876 
877 
878     web_url("api",
879         "URL=http://api.map.baidu.com/api?v=2.0&ak=skmUAIHy3CD4jNGd2C7OV93j",
880         "TargetFrame=",
881         "Resource=0",
882         "RecContentType=text/html",
883         "Referer=",
884         "Snapshot=t65.inf",
885         "Mode=HTML",
886         LAST);
887 
888 return 0;
889 }

 

以上是关于Loadrunner平台1.9环境APP成功录制并调试成功后的脚本备份的主要内容,如果未能解决你的问题,请参考以下文章

LoadRunner11录制APP脚本

loadrunner 怎么录制app中的脚本

软件测试_Loadrunner_APP测试_性能测试_脚本优化_脚本回放

loadrunner 11.0录制脚本内容为空,录制快照和回放快照也没有,怎么解决?

Loadrunner11.0 录制手机App脚本的方法

loadrunner11怎样实现谷歌或火狐浏览器录制?