Interface LogService
public interface LogService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadLogFiles
(FilePath workspace, PrintStream logger, RestApiFactory apiFactory, String benchResultId) Downloads the test log files from Octoperf servers once the test is finished.void
mergeJTLs
(FilePath workspace, PrintStream logger) Merges the JTL files into a single one
-
Field Details
-
LOGS
SingletonLogService
instance.
-
-
Method Details
-
downloadLogFiles
void downloadLogFiles(FilePath workspace, PrintStream logger, RestApiFactory apiFactory, String benchResultId) throws IOException, InterruptedException Downloads the test log files from Octoperf servers once the test is finished.- Parameters:
workspace
- workspace folderlogger
- logs messagesapiFactory
- rest retrofitbenchResultId
- bench result id- Throws:
IOException
- when logs could not be written to diskInterruptedException
-
mergeJTLs
Merges the JTL files into a single one- Parameters:
workspace
-logger
-- Throws:
IOException
InterruptedException
-