Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

AJAX TruClient script snapshot results in Error -205177

$
0
0

Hello All,

Hoping to find an answer for the below error received in BSM from the BPM (9.22).  I receive this after receiving an error message on a text check failure in I am forcing to happen.  We are trying to verify that we can receive a snapshot on erro for an AJAX TruClient script.  The script is a basic log in and exit script with a text check.  This script was recorded with VuGen SA (11.52).  Wondering if there could be a permissions issue in regards to accessing the snapshot on the BPM server?  Any assistance is appreciated.

 

t=00007421ms: Error -205177: exception while calling handlers in RuleEngine dispatch, ex=[Exception... "Component returned failure code: 0xffffffff [xlrISnapshotOnError.dumpedSnapshotOnError]"  nsresult: "0xffffffff (<unknown>)"  location: "JS frame :: file:///d:/hpbpm/bin/gecko/components/xlrReplayEngineXPCOMWrapper.js :: <TOP_LEVEL> :: line 903"  data: no], event=[Event type="step/errorSnapshot" target="3: Verify Search Customer Account's "Visible Text" contains "Fail this Check""], handler= <br>function (e) {<br>    if (RRE.RTS("RTS.TruClient.ReplaySnapshotsModeGen")) {<br>        var resultDir = RRE.RTS("config.result_dir");<br>        var iterNum = RRE.RTS("config.iteration_number");<br>        if (iterNum > SnapshotManager._lastIterationWithError) {<br>            SnapshotManager._InfCounter = 0;<br>        }<br>        var infName = SnapshotManager.updateAndReturnNewInfName();<br>        var prefs = Cc['@mozilla.org/preferences-service;1'].getService(Ci.nsIPrefService);<br>        prefs = prefs.getBranch("LoadRunner.config.");<br>        var scriptDir = prefs.getComplexValue("user_dir", Components.interfaces.nsIPrefLocalizedString) ||<br>            null;<br>        var xslPath = scriptDir + "\\\\web2ui.xsl";<br>        var netDirIndex = xslPath.indexOf("netdir");<br>        if (netDirIndex != -1) {<br>            xslPath = xslPath.substr(netDirIndex + 7);<br>            if (xslPath.charAt(1) == "\\\\") {<br>                var prefix = xslPath.substring(0, 1);<br>                xslPath = xslPath.substr(1);<br>                xslPath = prefix + ":" + xslPath;<br>            } else {<br>                xslPath = "\\\\\\\\" + xslPath;<br>            }<br>        }<br>        var SnapshotOnError = Components.classes['@hp.com/LoadRunner/xlr-snapshot-error-service;1'].getService(Components.interfaces.xlrISnapshotOnError);<br>        var snapOnErrorDir = SnapshotOnError.getSnapshotPath().length > 0 ? SnapshotOnError.getSnapshotPath() : resultDir + "Iteration" + iterNum;<br>        RRE.FileIO.createFolder(snapOnErrorDir);<br>        SnapshotManager.createInf(snapOnErrorDir, infName, e.data);<br>        SnapshotManager.createXml(snapOnErrorDir, infName, xslPath);<br>        SnapshotManager._lastIterationWithError = iterNum;<br>        SnapshotOnError.dumpedSnapshotOnError();<br>    }<br>}       Snapshot Info [MSH 1 1]    [MsgId: MERR-205177]'" align="left" uniqueId="uniqueId_3194600"  >
            t=00007421ms: Error -205177:...1 1]    [MsgId: MERR-205177]

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles