{"id":61,"date":"2011-03-29T22:24:20","date_gmt":"2011-03-29T21:24:20","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=61"},"modified":"2013-06-15T13:19:22","modified_gmt":"2013-06-15T12:19:22","slug":"generating-error-snapshots-with-loadrunner-controller","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/03\/2011\/generating-error-snapshots-with-loadrunner-controller\/","title":{"rendered":"Generating Error Snapshots with LoadRunner Controller"},"content":{"rendered":"<p>LoadRunner Controller throws up errors here and there almost all the time; 99% of these errors are due to either scripting problems or code changes (the other 1% are <em>out of memory exception<\/em> errors ;))<\/p>\n<p>The errors generated in the Controller are usually enough to figure out what the problem is, however there are times where the errors generated leave one searching for clues like a scavenger hunt.<\/p>\n<p>Then I came across this option in the Controller&#8230; &#8220;<em>Generate snapshot on error<\/em>&#8220;&#8230; hmm, this looks like it could prove very useful for web testing.<br \/>\nIndeed it did. Turns out that every-time an error is encountered in the Controller, a snap-shot of the page the error was encountered on will be saved and stored in the results folder in .html format.<\/p>\n<p><!--more--><\/p>\n<p>This option can be found in the run time settings and needs to be configured for each script in the Controller:<\/p>\n<p><a href=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"LRController_RuntimeSettings_MiscellaneousTab\" alt=\"Miscellaneous tab in the run time settings\" src=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError1.png\" width=\"702\" height=\"491\" \/><\/a><\/p>\n<p>The screenshot below shows a further setting related to the snapshoting facility\u00a0 the ability to save snapshots locally which apparently makes the snapshots more accurate.<\/p>\n<p><a href=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-87\" title=\"LRController_RuntimeSettings_PreferencesTab\" alt=\"Preferences tab in the script run time settings\" src=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError2.png\" width=\"707\" height=\"500\" srcset=\"https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError2.png 707w, https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2011\/03\/LRController_RuntimeSettings_SnapshotOnError2-300x212.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LoadRunner Controller throws up errors here and there almost all the time; 99% of these errors are due to either scripting problems or code changes (the other 1% are out of memory exception errors ;)) The errors generated in the Controller are usually enough to figure out what the problem is, however there are times [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[9],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-tech","tag-loadrunner"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-Z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":2,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}