All Apps and Add-ons

splunk app for synthetic transaction not working

singh_sanje
New Member

hi
while adding these line in my phython script it showing error

a=Transaction(driver, 'Google')
a.TransactionStart(driver, 'Google Home Page')
driver.get(self.base_url + "/")
a.TransactionEnd(driver, 'Google Home Page')
dont know where i can add these line

error : open browser and stuck on it

Traceback (most recent call last):
File "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\AppDynamicsJob1.py", line 30, in test_app_dynamics_job
a=Transaction(driver, 'Google')
UnboundLocalError: local variable 'driver' referenced before assignment

======================================================================

ERROR: test_app_dynamics_job (main.AppDynamicsJob)

Traceback (most recent call last):
File "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\AppDynamicsJob1.py", line 67, in tearDown
a.TransactionEnd(driver, 'Google Home Page')
NameError: name 'a' is not defined

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...