Sjakie
11 years agoOccasional Contributor
Making a function global
For my tests I have created several RESTMockServices. Also there are several MockActions. Everything runs in SoapUI Pro v5.1.2. Now I would like to write my incoming message to a seperate logfile. For this I made a function that determines the current date and time and writes this with a given String to the file.
My problem is that I have to include my function in every MockAction Script. Is it possible to put my function somewhere so all my MockAction Scripts can access it? Are there alternatives in SoapUI Pro?
Thanks in advance.
My problem is that I have to include my function in every MockAction Script. Is it possible to put my function somewhere so all my MockAction Scripts can access it? Are there alternatives in SoapUI Pro?
Thanks in advance.