Skip to content
QiTASC.com / intaQt Setup and Configuration /
Sharky Configuration
/ .. /
Sharky Configuration










Sharky

The Sharky remote services manages network recording (using tshark) and/or audio recording (using arecord) on Linux machines. With audio recordings, the default output is a *.wav file, which can additionally be converted to *.mp3. Network traces produce a *.pcap file. This section describes how intaQt can recognize running Sharky services. However, this section does not describe how to set up a Sharky service on a remote machine. Please refer to Sharky for Audio and Network Recording for information on how to set up a Sharky service.

Syntax

1
2
3
4
5
6
7
8
Sharky {
    <serviceName Identifier> {
        type = <String>
        host = <String>
        port = <Number>
    }
...
}

Multiple Sharky services can be configured. Every service definition consists of:

  • serviceName - This is a user-specified name for the service
  • This identifier will be part of the report's attachment log files provided by the service

  • type - One of "net" or "audio"

  • This describes the service type
  • All services of a given type are started/stopped on request by the steps (or annotation) in a test case scenario

  • host - Network location where the service is running, usually an IP address

  • port - Port number the remote service listens to

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Sharky {
    ExampleService {
        type = "net"
        host = "192.168.x.y"
        port = 7782
    }
    audioRecord {
        type = "audio"
        host = "192.168.x.y"
        port = 6798
    }
}