Service Operations

There are following operations, a user can perform on services:

  • Test a service
  • Edit a service
  • Activate services
  • Enable/Disable a service
  • Export service
  • Import service
  • Version commit
  • Version log
  • Request trace
  • Configuration

Test a Service

You can test a service by HTTP and by WebSocket. The process is mentioned in the subsequent sections.

By HTTP

  1. Select any service on the services page, click the Test button, and select By HTTP.

2. Test Service window is displayed.

  • Host and Port: It picks up the HPD_SERVER_ADDRESS from HPD file. If it is not defined, then system takes local host by default. If HTTP radio button is selected, then it fills the HPD_PORT automatically else if HTTPS option is selected then it picks up HPD_PORT.
  • Template Name: It is a dropdown list which contains the list of templates available in current service. Response comes by the selected template.
  • Query Parameters: User can specify the query parameters in the specified area.
  • URL: It is the URL for which the request is send to HPD by test service GUI.
  • Additional HTTP Header(s) For Request: Here system is allowing to add additional headers. This is optional.

3. By clicking the Test button, user can verify the response.

By WebSocket

The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code. Support for websocket call simulation is provided in NetOcean. If the simulation support for webSocket is there, then it can be tested without the need for application. You can record and simulate Web socket protocol based services and it removes dependency in testing environment from Real Web Socket Protocol Based Application.

  1. Select any service on services page, click the Test button, and select By webSocket.

  1. The Test Service window is displayed.

  • Host and Port: It picks up the HPD_SERVER_ADDRESS from HPD file. If it is not defined, then system takes local host by default. If HTTP radio button is selected, then it fills the HPD_PORT automatically else, if HTTPS option is selected then it picks up HPD_PORT.
  • Template Name: It is a dropdown list, which contains the list of templates available in current service. Response comes by the selected template.
  • Query Parameters: You can specify the query parameters in the specified area.
  • URL: The request is send to HPD by test service GUI for the URL.
  • WS / WSS: The wss protocol establishes a WebSocket over an encrypted TLS connection, while the ws protocol uses an unencrypted connection. At this point, the network connection remains open and can be used to send WebSocket messages in either direction

3. By clicking the Open button, the connection is established. You can verify the response by clicking the Test button.

Edit Service

Edit service info allows user to edit service name and URL as per requirement.

  • Service Name: This field allows user to edit service name.
  • URL: This allows user to edit URL.

Note: After editing a service, the user needs to activate it.

Activate Services

This feature is to activate all changes done in services and other settings. Once the services are activated, they are available on the corresponding NetOcean controller as simulated services ready for testing the application. The Services is available on the IP address of user’s controller and the HTTP port specified in user’s Configuration HTTP settings.

To activate a service, select the service and click the Activate button on NetOcean Services window. If changes are successfully activated, then system displays the message Changes Activated Successfully otherwise it displays the appropriate error message and reasons for failure.

A user can activate a service by clicking the Click To Activate NetOcean Services  icon  at the top panel.

Enable/ Disable a Service

This feature is to enable or disable any service. Only enabled services are simulated by NetOcean.

  1. Select any service and click the Enable/Disable button on NetOcean Services
  2. If selected service is enabled, then Disable button appears and if user clicks on it then it disables the selected service.
  3. If selected service is disabled, then Enable button appears and if user clicks on it then it enables the selected service.
  4. User can verify it in last column of table which displays state of service ‘enable/disable’

Export Services

This feature of NetOcean provides the facility to export any service to desktop in compressed format.

  1. Select any service to export and click on Export Service button. Provide the export file name in the window that is displayed.

  1. Click OK, the file is exported to the default download directory with the provided name.

Import Services

User can import the downloaded service to any NetOcean controller.

  1. Click the Import Service button on the NetOcean Services window.

  1. Click the Browse button to choose the downloaded service file from the local machine then it gets the selected path on this window. When user clicks Import button, then system checks whether any service is already existing with the same name or not. If service is not there with the same name, then it imports the service to NetOcean.

Note: If you encounter any duplicate service when importing a service via ‘Manage Services’ window, you can have the options to override, take backup of existing service, or skip duplicates.

Version Commit

This feature is used to commit the versions or updates of services.

  1. Select a service which already exists or create a new service.
  2. Click the Version Commit button on the NetOcean Service window.
  3. Commit service window opens as follows:

  1. Add some comments about the updates applied in the Commit Service window.
  2. Click the Commit button. A pop is displayed for the confirmation.
  3. Version is committed successfully.
 Versions are committed with version numbers starting from 1.0 onwards. If a service is updated initially then the version count is 1.0.

Version Log

This feature is used to view all the version of any service. Updates applied on any service are stored in logs when committed.

  1. Select a service which already exists to view all its updates.
  2. Click the Version Log button of NetOcean service window.
  3. NetOcean – CVS log window opens as follows:

 Version count for any service starts from 1.0 on-wards.  In the figure above the service has three versions (1.0, 1.1, 1.2 etc.). It also includes the date and time when the version was committed and the author name with some comments about the updates applied.

How to manage versioning and import/export of service

Request Trace

It is a log for request and response, a user captured for services. This menu consists of two menu items:

  • Request Trace
  • JMS Message

Request Trace

Go to Request Trace menu  on the NetOcean Home page then click the Request Trace menu item. The Request Trace window is displayed.

There are following section in this window:

  • Request Date/Time: The date/time when request is generated.
  • Response Date/Time: The date/time when response is generated.
  • From IP:Port: IP and port of the requesting service.
  • Service Name: Name of the service to which request belongs to.
  • Request URL: The requested URL.
  • Response Template Used: The template used for response.
  • Parameter Value: Value of the parameters applied.
  • Request Data: This section displays the request data.
  • Response Data: This section displays the response data.

When user clicks on any row of this list then request and response data comes in below area.

By default, system displays 15 logs out of total, but can change it to any number of records.

JMS Message

The purpose of a JMS application is to produce and to consume messages that can then be used by other software applications. JMS messages have a basic format that is simple but highly flexible, allowing you to create messages that match formats used by non-JMS applications on heterogeneous platforms. To view the JMS messages, go to Request Trace menu and click the JMS Message menu item. The JMS message information is displayed.

This window contains details, such as date/time of the JMS message creation, JMS server type, JMS Server IP/Port, Queue/Topic name, message type, and JMS message. To view the full JMS message, go to JMS message section.

Configuration

This section is used to configure various settings in NetOcean. This section is broadly categorized onto two sub-sections:

  • Configuration
  • SSL Management

Configuration sub-section is further divided into following:

  • Static Resources
  • Protocol Settings
  • SSL Settings
  • Service Time Settings
  • Logging
  • Internet Simulation
  • Advance Settings
  • JMS Setting
  • Connection Fault Settings

On clicking the Configuration menu item within the Configuration menu, two options are displayed – Normal mode and RTC mode. In normal mode, user would need to activate the HPD (by clicking the  icon) to reflect the changes every time. However, in case of RTC mode, there is no need to restart the HPD. It reflects the changes at run time.

Following window is displayed where user can perform various configuration settings:

Here is the illustration of the icons at the left along with their meaning.

IconSetting
Static Resources
Protocol Settings
SSL Settings
Service Time Settings
Logging
Internet Simulation
Advance Settings
JMS Settings
Connection Fault Settings

Static Resources

Static Resources configuration privileges control the ability to configure static resources. Click the Static Resources icon, the following window is displayed:

Host Configuration

  1. Enter the Hostname under the Add Host section.
  2. Click the Add button to add the host.

NetOcean Configuration Host Settings

  1. Click the hostname. This displays the details, such as URL Path (File Path), Size in Bytes (File Size), and Last Modification Time (the time when the file was last modified).

2. Click the URL path. The URL configuration window is displayed.

This is further divided into – HTTP Host Settings and Server Push Settings.

HTTP Host Settings (URL Settings)

  • Content Length Indicator: This allows you to transfer data into a series of overlapping chunks. Once you select this check box, more options are displayed in the below format.

You can choose from two options in the Chunk Scheme drop-down: Size of chunk and Number of chunks.

The check box for Default size of chunk / Default number of chunks is selected by default. You must clear the check box to enter a value other than the default value

  • Compression Type: To enable the different types of ‘Content-Encoding’ header in http response like Br, gzip, and deflate. The response will also be compressed.
    • None: No Compression
    • Gzip or Deflate: Gzip (or Deflate) compresses the web pages and CSS files before sending them to the browser. This operation drastically reduces transfer time since the files are much smaller. In terms of cost versus benefit, gzip compression should be near the top of your page speed optimizations if you don’t have it setup already. Gzip is actually a very simple idea that has extreme power (when put to good use of course). Gzip locates similar strings within a text file (in our case this is commonly CSS and HTML codes) and replaces those strings temporarily with some placeholders to make the overall file size smaller.
    • BR: Brotli compression ensures better space utilization and faster page loads with smaller compressed size and it is far better than gzip compression mechanism.  While Gzip compression uses a fixed window of 32KB but Brotli uses a sliding window of 1KB to 16MB. In NetOcean, Brotli technique is applicable for Correlated Services as well as Static Services.
  • Service Time Delay: To configure the delay in service time. There are following options:
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied. For exponential random distribution, median is roughly around 1/4th of the mean. This takes a random value equivalent to median time.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests.
    • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.

Server Push Settings

By using this settings, you can enable/disable server push globally. To make changes in Server-Push, you need to change the HTTP Mode from 1.X to 1.X/2 and then enable the Server-Push Mode. If server push is enabled, a setting is enabled in static services’ configuration.

You can enable server push from UI and has two options for uploading the Server-Push file:

  • Uploading a new file
  • Uploading an existing saved file from same host as well as another hosts

It displays a drop-down containing all the hosts present in real directory and their corresponding URLs in a table. There is a ‘Push’ option to upload the already saved URLs.

Protocol Settings

Click the Protocol Settings icon, the following options are displayed – HTTP, SMTP, FTP, IMAP, POP3.

Hypertext Transfer Protocol (HTTP)

HTTP allows the fetching of resources, such as HTML documents.

HTTP Ports

It is used to specify the ports for HTTP communication. It has the following options:

  • IPv4 ports: HTTP port for IP version 4.
  • IPv6 ports: HTTP port for IP version 6.
  • IPv4 Secure ports: HTTPS port for IP version 4.
  • IPv6 Secure ports: HTTPS port for IP version 6.
  • Listen on Specified IP Address: The IP Address where the HPD listens with Normal mode.

HTTP Settings

  • Keep Alive Connection Time Out: A browser typically makes multiple requests in order to download an entire Web page. To enhance server performance, most Web browsers request that the server keep the connection open across these multiple requests, which is a feature known as HTTP keep-alives. Without HTTP keep-alives, a browser that makes many requests for a page containing multiple elements, such as graphics, might require a separate connection for each element. These additional requests and connections require extra server activity and resources, decreasing server efficiency. The additional connections also make a browser much slower and less responsive, especially across a slow connection.
  • First Request Time Out: Timeout in milliseconds for HTTP connections for First request. (Default:30 seconds).
  • Directory Index: Sets the file that HPD will serve if a directory is requested. If the Directory Index is not configured, then 404 is returned.
  • Compression Type: To enable the different types of ‘Content-Encoding’ header in http response like Br, gzip, and deflate. The response will also be compressed.
    • None: No Compression
    • Gzip or Deflate: Gzip (or Deflate) compresses the web pages and CSS files before sending them to the browser. This operation drastically reduces transfer time since the files are much smaller. In terms of cost versus benefit, gzip compression should be near the top of your page speed optimizations if you don’t have it setup already. Gzip is actually a very simple idea that has extreme power (when put to good use of course). Gzip locates similar strings within a text file (in our case this is commonly CSS and HTML codes) and replaces those strings temporarily with some placeholders to make the overall file size smaller.
    • BR: Brotli compression ensures better space utilization and faster page loads with smaller compressed size and it is far better than gzip compression mechanism.  While Gzip compression uses a fixed window of 32KB but Brotli uses a sliding window of 1KB to 16MB. In NetOcean, Brotli technique is applicable for Correlated Services as well as Static Services.
  • URL Ignore Case: If it is enabled, the URL becomes case insensitive.
  • Date Header: To enable an additional header (i.e Date Header) which contains current date & time in response.
  • Server Header: To enable Server Header in the response. (Output :- Server: Cavisson NetOcean (Linux) (IP: 10.10.30.24:8010)).
  • Http Mode: There are two modes HTTP 1.X and HTTP 1.X/2. HTTP 1.X is used for HTTP 1.1 protocol. HTTP2 multiplexing is also supported at NetOcean side to process multiple HTTP requests of Inline / Embedded URLs concurrently on different streams using a single TCP connection.
  • Content Length Indicator: To transfer data into a series of overlapping chunks. Once you select this check box, more options are displayed in the below format.
    • Mode: There are further two modes – ‘disable’ and ‘enable’ to specify whether the features should be disabled or enabled.
  • Chunk Scheme: Chunk Scheme is based on two options:
    • Size of Chunk: The size of the individual chunk.
    • Number of Chunk: The number of chunks in which the response should be served.
  • HTTP/2 Settings: It has the following options:
    • Server Push: You can enable/disable server push globally. To make changes in Server-Push, you need to change the HTTP Mode from 1.X to 1.X/2 and then enable the Server-Push Mode. If server push is enabled, a setting is enabled in static services’ configuration.
    • Maximum Concurrent Streams: The number of streams that the server permits to create at a particular time. The range is 100 to 500.
    • Initial Window Size: The server’s initial window size (in octets) for stream-level flow control. The range is 65535 (2^16-1) to 2147483647 (2^31-1) bytes.
    • Maximum Frame Size: The size of the largest frame payload that the server is willing to receive. The range is 16384 (2^14) to 16777215 (2^24-1) bytes.
    • Header Table Size: The maximum size of the header compression table used to decode header blocks in octets. The range is 4096 (2^12) to 65535 (2^16-1) bytes.

Simple Mail Transfer Protocol (SMTP)

SMTP is a communication protocol for electronic mail transmission.

SMTP Port

  • IPv4 Ports: SMTP port for IP version 4.
  • IPv4 Secure Ports: Implicit SSL SMTP port for IP version 4.
  • IPv4 TLS Ports: Explicit SSL SMTP port for IP version 4.
  • IPv6 Ports: SMTP port for IP version 6.
  • IPv6 Secure Ports: Implicit SSL SMTP port for IP version 6.
  • IPv6 TLS Ports: Explicit SSL SMTP port for IP version 6.

Service Time

  • Mode: To apply service time for SMTP response.
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied. For exponential random distribution, median is roughly around 1/4th of the mean. This takes a random value equivalent to median time.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests
    • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.
  • Command
    • GREETING: Used for session initiation.
    • HELO: Starts the conversation identifying the sender server and is generally followed by its domain name.
    • EHLO: An alternative command to start the conversation, underlying that the server is using the Extended SMTP protocol.
    • AUTH: To authenticate the client to the server.
    • USERNAME: Authentication User name
    • PASSWORD: Authentication Password
    • MAIL: To establish the return address.
    • RCPT: To establish a recipient of the message.
    • DATA: The email content begins to be transferred; it’s generally followed by a 354 reply code given by the server, giving the permission to start the actual transmission.
    • VRFY: The server is asked to verify whether a particular email address or username actually exists.
    • EXPN: Asks for a confirmation about the identification of a mailing list.
    • RSET: Communicates to the server that the ongoing email transmission is going to be terminated, though the SMTP conversation won’t be closed (like in the case of QUIT).
    • NOOP: Used only to check whether the server can respond. “250 OK” reply in response.
    • QUIT: Terminates the SMTP conversation.
    • HELP: A client’s request for some information that can be useful for a successful transfer of the email.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Average Time: The Time taken in between Min and Max time (Formula: (Min+Max)/2) or (no of transactions * time of each transaction / total no of transactions).
  • Maximum Time: Time taken for completing the Service test.

Authentication

  • Mode: To support authentication mechanism for SMTP.
    • Do Not Enable Auth Login: Do not enable authentication login.
    • Enable Auth Login But Do Not Check Validity Of User Name/Password: Enable authentication login but do not check validity of username and password.
    • Enable Auth Login And Check Validity Of User Name/Password: Enable authentication login and check the validity of username and password.

Error Simulation

  • Command
    • GREETING: Used for session initiation.
    • HELO: Starts the conversation identifying the sender server and is generally followed by its domain name.
    • EHLO: An alternative command to start the conversation, underlying that the server is using the Extended SMTP protocol.
    • AUTH: To authenticate the client to the server.
    • USERNAME: Authentication User name
    • PASSWORD: Authentication Password
    • MAIL: To establish the return address.
    • RCPT: To establish a recipient of the message.
    • DATA: The email content begins to be transferred; it’s generally followed by a 354 reply code given by the server, giving the permission to start the actual transmission.
    • VRFY: The server is asked to verify whether a particular email address or username actually exists.
    • EXPN: Asks for a confirmation about the identification of a mailing list.
    • RSET: Communicates to the server that the ongoing email transmission is going to be terminated, though the SMTP conversation won’t be closed (like in the case of QUIT).
    • NOOP: Used only to check whether the server can respond. “250 OK” reply in response.
    • QUIT: Terminates the SMTP conversation.
    • HELP: A client’s request for some information that can be useful for a successful transfer of the email.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Percentage: Value in percent for which user wants the user defined response in case of error simulation.
  • Reply Buf: User defined response in case of Error simulation.

File Transfer Protocol (FTP)

FTP is a standard network protocol used for the transfer of computer files between a client and a server on a computer network.

FTP Port

  • IPv4 Ports: FTP port for IP version 4.
  • IPv6 Ports: FTP port for IP version 6.
  • FTP Data Connection Time 

Service Time

  • Mode: To apply service time for FTP response.
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied. For exponential random distribution, median is roughly around 1/4th of the mean. This takes a random value equivalent to median time.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests
    • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.
  • Command
    • USER: Authentication username.
    • PASS: Authentication password.
    • PASV: Passive mode.
    • PORT: An address and port to which the server should connect.
    • RETR: Retrieve a copy of the file
    • QUIT: Disconnect.
    • TYPE: Sets the transfer mode.
    • STOR: Accept the data and to store the data as a file at the server site.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Average Time: The Time taken in between Min and Max time (Formula: (Min+Max)/2) or (no of transactions * time of each transaction / total no of transactions).
  • Maximum Time: Time taken for completing the Service test.

Error Simulation

  • Command
    • USER: Authentication username.
    • PASS: Authentication password.
    • PASV: Passive mode.
    • PORT: An address and port to which the server should connect.
    • RETR: Retrieve a copy of the file
    • QUIT: Disconnect.
    • TYPE: Sets the transfer mode.
    • STOR: Accept the data and store the data as a file at the server site.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Percentage: Value in percent for which user wants the user defined response in case of error simulation.
  • Reply Buf: User defined response in case of Error simulation.

Internet Message Access Protocol (IMAP)

IMAP is an Internet standard protocol used by email clients to retrieve email messages from a mail server over a TCP/IP connection.

IMAP Port

  • IPv4 Ports: IMAP port for IP version 4.
  • IPv4 Secure Ports: Implicit port for IP version 4.
  • IPv6 Ports: IMAP port for IP version 6.
  • IPv6 Secure Ports: Implicit port for IP version 6.

Service Time

  • Mode: To apply service time for IMAP response.
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied. For exponential random distribution, median is roughly around 1/4th of the mean. This takes a random value equivalent to median time.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests
    • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.
  • Command
    • GREETING: Used for session initiation.
    • LOGIN: Establishes authentication and enters the authenticated state.
    • SELECT: Select a mailbox for access and enter the selected state.
    • LIST: Returns a subset of names from the complete set of all names available to the client.
    • FETCH: Retrieves data associated with a message in the mailbox.
    • DELE: Permanently removes the mailbox with the given name.
    • LOGOUT: Informs the server that the client is done with the connection.
    • NOOP: Used as a periodic poll for new messages or message status updates during a period of inactivity
    • CAPABILITY: Requests a listing of capabilities that the server supports.
    • ALL: To apply service time for all of the commands, choose ALL.

 

  • Average Time: The Time taken in between Min and Max time (Formula: (Min+Max)/2) or (no of transactions * time of each transaction / total no of transactions).
  • Maximum Time: Time taken for completing the Service test.

Authentication

  • Mode
    • Live Mode:
    • Simulation Mode:

Error Simulation

  • Command
    • GREETING: Used for session initiation.
    • LOGIN: Establishes authentication and enters the authenticated state.
    • SELECT: Select a mailbox for access and enter the selected state.
    • LIST: Returns a subset of names from the complete set of all names available to the client.
    • FETCH: Retrieves data associated with a message in the mailbox.
    • DELE: Permanently removes the mailbox with the given name.
    • LOGOUT: Informs the server that the client is done with the connection.
    • NOOP: Used as a periodic poll for new messages or message status updates during a period of inactivity.
    • CAPABILITY: Requests a listing of capabilities that the server supports.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Percentage: Value in percent for which user wants the user defined response in case of error simulation.
  • Reply Buf: User defined response in case of Error simulation.

Post Office Protocol Ver3 (POP3)

POP3 is an application-layer Internet standard protocol used by email clients to retrieve email from a mail server.

POP3 Port

  • IPv4 Ports: POP3 port for IP version 4.
  • IPv4 Secure Ports: Implicit port for IP version 4.
  • IPv6 Ports: POP3 port for IP version 6.
  • IPv6 Secure Ports: Implicit port for IP version 6.

Service Time

  • Mode: To apply service time for POP3 response.
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied. For exponential random distribution, median is roughly around 1/4th of the mean. This takes a random value equivalent to median time.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests
    • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.
  • Command
    • GREETING: Used for session initiation.
    • USER: Username.
    • PASS: Password.
    • STAT: Displays the number of messages currently in the mailbox and the size in bytes.
    • LIST: To get a summary of messages.
    • RETR: To retrieve a particular message.
    • DELE: To delete a message.
    • NOOP: Used as a periodic poll for new messages or message status updates during a period of inactivity.
    • RSET: To reset the session to its initial state.
    • QUIT: To end the POP3 conversation.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Average Time: The Time taken in between Min and Max time (Formula: (Min+Max)/2) or (no of transactions * time of each transaction / total no of transactions).
  • Maximum Time: Time taken for completing the Service test.

Authentication

  • Mode
    • Live Mode
    • Simulation Mode

Error Simulation

  • Command
    • GREETING: Used for session initiation.
    • USER: Username.
    • PASS: Password.
    • STAT: Displays the number of messages currently in the mailbox and the size in bytes.
    • LIST: To get a summary of messages.
    • RETR: To retrieve a particular message.
    • DELE: To delete a message
    • NOOP: Used as a periodic poll for new messages or message status updates during a period of inactivity.
    • RSET: To reset the session to its initial state.
    • QUIT: To end the POP3 conversation.
    • ALL: To apply service time for all of the commands, choose ALL.
  • Percentage: Value in percent for which the user wants the user-defined response in case of error simulation.
  • Reply Buf: User-defined response in case of Error simulation.

SSL Settings

Click the SSL Settings link under Global Settings section.

Specify the following fields:

  • Client Authentication during handshake: This enables client authentication during the handshake process between the client and the server.
  • Server Certificate Chain: User needs to provide the server certificate path. The path where the server certificate is installed.
  • Certificate Authority (CA): A CA issues digital certificates that contain a public key and the identity of the owner. Here, user needs to provide the CA path.
  • Certificate Revocation Lists (CRL): A certificate revocation list (CRL) is a list of certificates (or more specifically, a list of serial numbers for certificates) that have been revoked or are no longer valid, and therefore should not be relied upon.
  • Client Authentication Depth: Depth value is a number that specifies how deeply to verify the certificate issuer chain before deciding the certificate is not valid.
  • SSL Extra Certificate Chain Files: Enter the file name in .der format. This saves the certificates with specified settings.

Service Time Settings

Click the Service Time Settings link under Global Settings section.

Tour Application Settings

  • Application URL: Select the application URL from the drop-down list.
  • Mode: To apply service time for Static URLs.
    • No Service Time: No service time delay is applied. Helps in doing max load testing.
    • Exponential Random: Exponential random service time with median of specified seconds is applied.
    • Constant: A constant service time of specified seconds. Helps in doing controlled tests.
  • Uniform Distribution: It is more Realistic. The value is a random value between the minimum and maximum time defined. Min should be less than or equal to Max.
  • Average Time: The Time taken in between Min and Max time (Formula: (Min+Max)/2) or (no of transactions * time of each transaction / total no of transactions).
  • Maximum Time: Time taken for completing the Service test.

Service Time Delay: This is the configuration-level service time delay. The options and description of those options is same as defined in the Mode section above.

Logging

Click the Logging link under Global Settings section.

 

Specify the following fields:

  • Trace Level:
    • Disable: No logs
    • Log URL and Parameter
    • Log URL, Parameter, and Request / Response
  • Memory Allocation and Free Debug Log: To enable the memory allocation and debug logs.
  • Maximum Debug Log File Size: You can provide the maximum size of hpd_debug.log file. Debug Log File size is in MB.
  • Maximum Error Log File Size: You can provide the maximum size of hpd_error.log file. Error Log File size is in MB.

Internet Simulation

Click the Internet Simulation link under Global Settings section.

Specify the following fields:

  • Internet Simulation: This is used to activate the WAN simulation. To enable internet simulation, select the Internet Simulation check box.
  • Shared Modem
    • Do not share modem id, each connection will have its own: With this option, system does not share the modem id. Each connection has its modem id.
    • Share modem among all connections: With this option, system shares modem among all connections.
  • Bandwidth Constraints(kilobits/sec)
    • Forward: It is the bandwidth limitation from NO to NS (server to client).
    • Reverse: It is the bandwidth limitation from NS to NO (client to server).
  • Latency (mili-secs)
    • Forward: It is the time interval between the stimulation and response from NO to NS.
    • Reverse: It is the time interval between the stimulation and response from NS to NO.
  • Packet Loss (%)
    • Forward: It is the percentage of packets lost while data travelling from NO to NS.
    • Backward: It is the percentage of packets lost while data travelling from NS to NO.
  • Individual Connection: When enabled, bandwidth constraint is implemented for individual connection, else for overall connections.
  • Adverse factor for latency and packet loss: It is the variable percentage for latency and packet loss from NO to NS and vice versa.
  • Jitter (%)
    • Forward: It is any deviation in, or displacement of, the signal pulses in a high-frequency digital signal from NO to NS.
    • Backward: It is any deviation in, or displacement of, the signal pulses in a high-frequency digital signal from NS to NO.

Advance Settings

Click the Advance Settings icon under the Global Settings section. There are further two sections – Advance Settings and Other Protocol Settings > User Registration.

Advance Settings

  • Forward Mode: To enable/disable the forward requests. Requests are forwarded to the next server (whose server details has to be provided in the forward text field) to serve the response.
    • Connection Timeout: Provide the connection timeout value, if forward setting enabled. Its unit is in seconds and default value is 45 sec.
    • Response Timeout: Provide the response timeout value, if forward setting enabled. Its unit is in seconds and default value is 60 sec.
  • Reverse Proxy Mode: To use NetOcean as a proxy server. Reverse Proxy Server is a type of proxy server that typically sits behind the firewall in a private network and directs client requests to the appropriate backend server.
  • IPv6: To enable IPV6 support in NetOcean.
  • Maximum Number of IO Vectors: Maximum number of segments to be made for response. Rest response data is truncated.
  • Maximum Request Size: Maximum size of the request. Provide the value in ‘bytes’ with a range from 0 to 10GB
  • Other Protocols: To enable other protocols in NetOcean. By default, only HTTP protocol is enabled.

NetOcean Performance Settings

  • Start Up Mode: To start the HPD in startup mode. Multiple HPD processes are started to handle the load.
    • Normal Mode: To listen to specified IP addresses.
    • Server IP Based Mode
    • Auto Mode
  • Optimize Ethernet Packet Flow
    • 0:
    • 1:
    • 2:
  • Time Stamp: Timeout in milliseconds (for connections) for the first request.
    • Use Kernel Jiffy:
    • Use CPU frequency:
    • Use Unix System Call (get time of day):
  • Maximum Connections Per Child: Number of connections established per child. Maximum number of concurrent connections to be handled by one HPD process. Default value is 32768 connections.
  • Number of NetOcean Virtual Machine: The number of processes that HPD runs. Number of processes is 2 per CPU. For example: if the machine is dual core CPUs, then total 8 (2*4). processes run. There are the following options.
    • Auto (2 per core)
    • Specified

PINPAD Settings: PinPad services are used to serve the requests of PinPad devices. A PIN pad or PIN entry device is an electronic device used in a debit, credit, or smart card-based transaction to accept and encrypt the cardholder’s personal identification number (PIN), for example – an ATM machine.

  • Pinpad Trace:
  • Pinpad Ports:
  • Keys:

Project Settings

  • Project Directory: Used to create/choose different correlation directory. It helps in the segregation of services.

User Registration

To register a new user and configure the information related to it. Go to Advance Settings > Other Protocol Settings > User Registration.

  • Protocol
    • SMTP: A communication protocol for electronic mail transmission
    • IMAP: An Internet standard protocol used by email clients to retrieve email messages from a mail server over a TCP/IP connection.
    • POP3: An Application-layer Internet standard protocol used by email clients to retrieve email from a mail server.
    • FTP: A standard network protocol used for the transfer of computer files between a client and server on a computer network.
      • Domain Name: Domain name of the server for transferring files.
  • User Name: Authentication Username.
  • Password: Authentication Password.
  • Number of Emails: Random number is chosen between minimum emails and maximum emails. And that will be considered as the actual number of emails.
    • Minimum: Number of minimum emails.
    • Maximum: Number of maximum emails.
  • Number of Bytes for an Email: A random number of bytes is chosen between minimum bytes and maximum bytes. And that will be considered as the actual number of bytes for those emails.
    • Minimum: Minimum number of bytes for an email.
    • Maximum: Maximum number of bytes for an email.

JMS Settings

This section is used to add JMS configuration and manage JMS configuration. The description is provided in the subsequent sections.

Add JMS Configuration

To add JMS settings, go to JMS Settings > Add JMS Configuration. The JMS Settings window is displayed where user can configure the JMS settings based on the provided details.

This window is categorized into two sections:J

  • JMS Vendor Settings
    • JMS Vendor: Select the JMS Vendor either ‘TIBCO’ or ‘IBMMQ’ from the drop-down list.
    • Connection: Select the connection either TCP or SSL. In case SSL is selected, user needs to provide the source SSL server information too.
    • Mode: There are two modes – ‘Consume’ and ‘Forward’. In case of ‘Consume’,  NetOcean first consumes the message and then discard it and you need to provide the JMS Source information only. In case of mode ‘Forward’, NetOcean first consumes the message and send it to the destination. You need to provide both JMS Source and Destination information.
  • JMS Source Information
    • Server (IP/Host Name)
    • Port
    • Queue Manager
    • Channel Name
    • Queue Name
    • User Name
    • Password
    • File Name
  • JMS Destination Information
    • Server (IP/Host Name)
    • Port
    • Queue Manager
    • Channel Name
    • Queue Name
    • User Name
    • Password

Manage JMS Configuration

This section is used to view all the added configuration for JMS messaging. To access this, go to JMS Settings > Manage JMS Configuration.

This window displays information, such as mode, trace level, connection type, source and destination information, such as IP, port, topic/queue, and topic/queue name.

The user can select any check box corresponding to the configuration, and choose to update or delete the configuration. While deleting any configuration, a confirmation popup message is displayed.

Connection Fault Settings

This feature enables a user to do negative testing. This feature provides all the negative scenarios related to Connection timeout. User can easily figure out the issues (if any) due to connection timeout occur in the application.

Steps to perform connection fault settings

  1. Go to Configuration Settings and click the Connection Fault Settings option.

2. Select the port, which are available for TCP Drop (connection time out). Application points to these ports and continue the negative testing.

3. User can start the job with the current time stamp or schedule it for the future. Upon selecting the ‘Immediate’ option, the job starts after applying the changes. Upon scheduling the job, it starts at the scheduled time after applying the changes.

4. After applying the changes by clicking the Apply button, first job will be processed at the current time and second job will be processed with the scheduled time. In addition, their Status changes from “Ready to Apply” to “Running” / “Scheduled” accordingly.

Note: If a connection time-out job is scheduled for the second time, the ‘used’ port is removed and only unused ports are displayed in the ports drop-down list.

Details

  • Service Port: The service port that was used for timeout.
  • Status: The status of the job. For example:
    • Ready to Apply
    • Applied
    • Scheduled
    • Running
    • Completed
    • Forced Stop
  • Start Date: Start date of the job.
  • Start Time: Start time of the job.
  • End Date: End date of the job.
  • Configured: The date and time when the specific port was configured for timeout.
  • Last Modified: The timestamp at which any port configuration was updated/stopped, etc.
  • Activated: The timestamp at which the port was put to ‘Applied’ state.

User Actions

  • Add: This is used to add a port to refuse the connection.
  • Update: Allow to update scheduled job only if the scheduled job is in “Ready to Apply” status.
  • Delete: This deletes the scheduled job only if the scheduled job status is “Ready to Apply” or “Completed”.
  • Stop: This stops the scheduled job only if the scheduled job status is “Scheduled” or “Running”.
  • Apply: Apply the changes if the scheduled job status is “Ready to Apply”.

SSL Management

This section is used to view the NetOcean SSL management that contains details of SSL certificates and certificate revocation list.

Certificates

This section contains details, such as file name, file type, common name, organization, expiration, issuer.

User can create a certificate using the Create button. A window is displayed where user needs to provide certain details, such as general details, certificate details, and key details to create a certificate.

User can also import a certificate by clicking the Import button on the Certificate window. A window is displayed where user needs to provide details on the file to import.

Certificate Revocation List

A Certificate Revocation List (CRL) is a list of digital certificates that have been revoked by the issuing Certificate Authority (CA) before their scheduled expiration date and should no longer be trusted.

The user can view the list, import it, or export it.

Download File

This option is used to download a file from the backend and save it to the system. You can upload a file from the system to the backend as well.

Download a File

Perform the following operations to use this feature.

  1. Go to Actions > Download File. This displays the Download File box.

2. Click the Browse button. This displays the File Manager window.

3. Select the file from the table (by scrolling or by using the Search option). The selected file is displayed on the right panel of the window. Click OK. This displays the Download File box again with the pre-filled path of the selected file. Click the Download button to download the file to the system.

Create a New Folder

To create a new folder on the backend, go to File Manager window, click New Folder button, provide the folder name, and click OK.

Upload a File

To upload a file from the system to backend, click the Upload button and choose the file to upload.