Archive2

Has anyone successful setup Splunk Synthetic App on a windows system? Examples provided seem to be unix only.

Communicator

We are continually seeing an error - "ImportError: No Module named site". No tests seem to execute.
Here are the contents of our .bat file to launch our .py script:

@echo off
set PYTHONPATH="C:\Python 3.7"
set LDLIBRARYPATH="C:\Python 3.7\Lib"
set CLASSPATH="C:\Python 3.7\Scripts\Splunk Scripts\selenium-2.43.1\selenium-server-standalone-.jar"
set SELENIUMSERVERJAR="C:\Python 3.7\Scripts\Splunk Scripts\selenium-2.43.1\selenium-server-standalone-
.jar"

set SELENIUMSERVERJAR

python "D:\Program Files\Splunk\etc\apps\splunk-app-synthetic\bin\SFIALoginProd_p7.py"

I could not find a windows example of the bin file referenced in the instructions:
https://splunkbase.splunk.com/app/1880/#/details

Thanks!

0 Karma
Reply