51Testing软件测试论坛

标题: loadrunner 回放时显示数据被篡改,但脚本通过 [打印本页]

作者: 测试积点老人    时间: 2019-9-4 11:10
标题: loadrunner 回放时显示数据被篡改,但脚本通过
录制脚本,关于提现。公司网站适合第三方平台合作,关于资金的都调用第三方接口。现在录制脚本后回放时查看器显示页面数据被篡改,脚本通过。当然提现也没有成功。如下代码是出错页面的脚本代码:

  1. web_submit_data("cahsConfirm",
  2. "Action=http://mertest.chinapnr.com/muser/result/TRANS/0300/1/cahsConfirm",
  3. "Method=POST",
  4. "RecContentType=text/html",
  5. "Referer=http://mertest.chinapnr.com/muser/publicRequests",
  6. "Snapshot=t23.inf",
  7. "Mode=HTML",
  8. ITEMDATA,
  9. "Name=prevent_autofill", "Value=6225801656232652", ENDITEM,
  10. "Name=cardId1", "Value={account}", ENDITEM,
  11. "Name=realFlagDisplay", "Value=R", ENDITEM,
  12. "Name=cardId1", "Value={account}", ENDITEM,
  13. "Name=realFlagDisplay", "Value=R", ENDITEM,
  14. "Name=cardId1", "Value={account}", ENDITEM,
  15. "Name=realFlagDisplay", "Value=R", ENDITEM,
  16. "Name=effCashChnl", "Value=GENERALCASH", ENDITEM,
  17. "Name=cmdId", "Value=Cash", ENDITEM,
  18. "Name=ordId", "Value={OrdId}", ENDITEM,
  19. "Name=merCustId", "Value=6000060000186748", ENDITEM,
  20. "Name=custId", "Value={UsrCustId}", ENDITEM,
  21. "Name=tranAmt", "Value={TransAmt}", ENDITEM,
  22. "Name=realTransAccount", "Value=", ENDITEM,
  23. "Name=servFee", "Value=0.00", ENDITEM,
  24. "Name=servFeeAcctId", "Value=", ENDITEM,
  25. "Name=pageRetUrl", "Value=http://tjhj.vicp.io/payment/withdrawReturn", ENDITEM,
  26. "Name=bgRetUrl", "Value=http://tjhj.vicp.io:5080/payment/withdrawReturn/Bg", ENDITEM,
  27. "Name=merPriv", "Value=GENERAL", ENDITEM,
  28. "Name=openAcctId", "Value={account}", ENDITEM,
  29. "Name=realFlag", "Value=R", ENDITEM,
  30. "Name=remark", "Value=", ENDITEM,
  31. "Name=charSet", "Value=UTF-8", ENDITEM,
  32. "Name=feeObjFlag", "Value=", ENDITEM,
  33. "Name=interfFeeAcctId", "Value=", ENDITEM,
  34. "Name=interfFeeAcctType", "Value=", ENDITEM,
  35. "Name=Version", "Value=20", ENDITEM,
  36. "Name=usrSubAcct", "Value=MDT000001", ENDITEM,
  37. "Name=cashDeductType", "Value=O", ENDITEM,
  38. "Name=cashDeductTypeStr", "Value={cashDeductTypeStr}", ENDITEM,
  39. "Name=encryptStr", "Value=02772ad07b9e4f1f75b1dae8234851a8", ENDITEM,
  40. "Name=interfCashChl", "Value=GENERAL", ENDITEM,
  41. "Name=isCashAudit", "Value=Y", ENDITEM,
  42. "Name=getFeeObj", "Value=U", ENDITEM,
  43. "Name=expressFlag", "Value=Y", ENDITEM,
  44. "Name=SourceId", "Value=00000010", ENDITEM,
  45. "Name=avlDCashBal", "Value={avlDCashBal}", ENDITEM,
  46. "Name=password_fake", "Value=", ENDITEM,
  47. "Name=passWord", "Value=TvKmYQ26BxFhXVn/sluIkuB+QGf19azRvKgZWJaFcTJYlbwmlg3+9Sh8icIBFTsL/zcKQb0AvD10+gmyYjWgu9JzJG08rL4dhjNQit+XxahDdElydVnkmxcRYG0j6fhATtH2cfZfU+NJ2PMbcHxaaATYAoS5A/H4Tz8ZgYm/KbQ=", ENDITEM,
  48. LAST);
复制代码
该关联的都关联了,就是不知道错在哪里了。求大神指点。


作者: qqq911    时间: 2019-9-5 10:31
需要关联
作者: jingzizx    时间: 2019-9-5 12:03
只是告诉你可以接收
作者: litingting0214    时间: 2019-9-5 15:17
检查下是否关联全了




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2