ZebraTester Plugin Repository
Custom ZebraTester Plugins
- 1 Custom ZebraTester Plugins
- 1.1 Generic JDBC Plugin
- 1.2 HTTP2 Plugin
- 1.3 GWT Serialisation and Deserialisation
- 1.4 gRPC application execution support
- 1.5 WebService Security Plugins for SOAP message
- 1.6 Message Queue Plugin for sending Payloads to the Queue
- 1.7 Add Request Header
- 1.8 Add Slash
- 1.9 AppDynamics Integrations Plugins
- 1.10 Credentials Manager (Apica version)
- 1.10.1 Credentials Manager 2
- 1.10.2 Credentials Manager Lite
- 1.11 Extract Chars From Front Of String
- 1.12 Extract Substring In Between
- 1.13 Extract Values From JSON
- 1.14 Generate GUID
- 1.15 Generate MD5 Plugin
- 1.16 Generate SHA1 Plugin
- 1.17 Generate random characters
- 1.18 Generate Random Email Address
- 1.19 Generate Unix Timestamp
- 1.20 GetPercentOfANumber
- 1.21 Generate oauth 1.0 signature
- 1.22 Modify Error Snapshots
- 1.23 String Joiner
- 1.24 Trim String
- 1.25 Day Difference
- 1.26 Day Difference Reversed
- 1.27 GET ASM dictionary
- 1.28 PUT ASM dictionary
- 1.29 SFTP plugin (upload and download)
- 1.30 SFTP download file
- 1.31 SSH and run command
- 1.32 ActiveMQ Support for ZT
- 1.33 IBM_WebsphereMQ for ZT
- 1.34 Convert Timestamp to Unix
- 1.35 Upload Custom Integer Value as Response Value in ASM GUI
- 1.36 Update Kerberos Username & PasswordB64 with input parameters/stand alone variables.
- 1.37 OTP/MFA Code Generator (Authenticator)
- 1.38 Apica Data Repository REST API Plugin
Generic JDBC Plugin
This JDBC Plugin can connect to any Database and execute queries , the only important thing is the database driver jar file need to be in the class path (Add to external resources)
Sample - contact support
Example input parameters to be passed to this plugin ; Db Driver - com.microsoft.sqlserver.jdbc.SQLServerDriver, DB Url - "jdbc:sqlserver://localhost;database=Apica;", Username , Password and DB Query . You can also pass an additional parameter for dynamic id or any other things , which is part of the DB Query.
We have support for load testing & ASM with JDBC.
HTTP2 Plugin
Latest modification adds support for multiple HTTP response codes.
Adds HTTP2 compatibility to ZT using an external HTTP2 compliant HTTP Client.The call should be disabled from the ZT point of view. The plugin will execute the call using the external library okHttp.
Response data needs to be handled in inline script as the plugin returns ALL response data in a single string.
Assigning request data will however work normally with all the regular assignment methods available in ZT.
Sample - contact support
Instructions: Input parameters: Output parameters Limitations:
|
---|
GWT Serialisation and Deserialisation
Both recording / load test plugins - Created for B2B Automation use case
Sample - contact support
gRPC application execution support
Sample - contact support
WebService Security Plugins for SOAP message
Sign and Encrypt Plugin for Request Content
Sample - contact support
Decrypt and Content Verify Plugin for Response Content
Sample - contact support
Dependencies jars
Sample - contact support
Message Queue Plugin for sending Payloads to the Queue
Sample - contact support
Dependencies jars
Sample - contact support
Add Request Header
adds custom request header to url requests
Sample - contact support
Add Slash
adds slash in between last and second to the last character of a string.
Sample - contact support
AppDynamics Integrations Plugins
AppdynamicsIntegrationV1
Adds two headers to each call that forces appdynamics to trigger a snapshot of that transaction and tags it with a unique GUID. This allows one to track the transactions inside appdynamics by searching for the Header-ApicaGUID and the GUID associated with that loop among the transaction snapshots in the appdynamics controller. To search for a specific series of snapshots associated with that loop you go to the controller and click on the application that's being targeted > Transaction Snapshot > All snapshots and click Show Filters. In the Search Criteria you expand the Data Collector Data and enter Header-ApicaGUID in the name field and the GUID in the value field. This will bring up all snapshots associated with that loop.
Sample - contact support
AppdynamicsIntegrationV2
Works in the same way as the V1 but it adds one input field that is set to false by default. False will give the trigger snapshot header the value false and will not trigger a snapshot wile true will force a snapshot. To use this plugin in WPM you need to add the following line to the Additional Options field in the check setup: -vTriggerSnapshot true. if -vTriggerSnapshot true or false is not added to the check setup the check will not run.
Sample - contact support
AppdynamicsIntegrationV3
Works in the same way as the V2 but generates a 13 long alphanumeric value as ApicaGUID.
Sample - contact support
AppdynamicsIntegrationV4
Plugin to insert custom request headers that can be used with AppDynamics to correlate data with Apica.
Headers: ApicaGUID: (some GUID), ApicaPageName: (Page Break's name/Transaction name)
Set vTriggerSnapshot to true to enable plugin, otherwise false
Sample - contact support
Credentials Manager (Apica version)
Retrieve encrypted username/password from API then plugin will decrypt data to be used in the proxysniffer script. To store username/password to server run plugin from command line and pass necessary parameters. Batch process encrypting/updating password. BEFORE USING: Replace the value for "KEY" with some password key and "AUTH_TICKET_PROD" with customer's own API auth_ticket.
Sample - contact support
Usage:
TO ADD A NEW RECORD
-------------------
Argument[0] = "encrypt"
Argument[1] = (username)
Argument[2] = (password)
Argument[3] = (environment - possible value:[dev,uat,prod])
TO UPDATE EXISTING RECORD
-------------------------
Argument[0] = "update"
Argument[1] = (username)
Argument[2] = (password)
Argument[3] = (environment - possible value:[dev,uat,prod])
TO TEST IF THE RECORD HAS BEEN WRITTEN AND CONTAINS THE PROPER DATA
-------------------------------------------------------------------
Argument[0] = "decrypt"
Argument[1] = (username)
Argument[2] = "<passkey-string>" (pass the same value as SYMMETRIC_KEY)
Argument[3] = (environment - possible value:[dev,uat,prod])
TO PROCESS MULTIPLE ID/PASSWORD BY EITHER ADDING OR UPDATING
------------------------------------------------------------
Argument[0] = "batch"
Argument[1] = (file name including full path of .txt file in csv format [action,username,password])
Argument[2] = "<passkey-string>" (pass the same value as SYMMETRIC_KEY)
Argument[3] = (environment - possible value:[dev,uat,prod])
Credentials Manager 2
Retrieve encrypted text like credentials from ASM API to be decrypted on the fly and used in a ZebraTester script. Use the separate GUI to manage credentials. Additional documentation available in Confluence and KB.
Sample - contact support
Credentials Manager Lite
Simplified version of Credentials Manager where passing in shared secret key and encrypted text will output decrypted text.
Sample - contact support
Extract Chars From Front Of String
Plugin to extract certain number of characters from front of input string.
Sample - contact support
Extract Substring In Between
Extracts a substring in between two given strings
Sample - contact support
Extract Values From JSON
Plugin to extract specific values from a JSON string input. Pass the array name and node name to extract.
Sample - contact support
Generate GUID
Plugin to generate globally unique ID. Replaces x with random hex digit so you can set a static value instead of x.
Sample - contact support
Generate MD5 Plugin
Generates a MD5 hash from an input value. require a var populated by a value either extracted or predefined as a stand alone var then hashes that value and populate the output var with that value.
Sample - contact support
Generate SHA1 Plugin
Generates a SHA1 hash from tre values (uri_string, token_string and salt) to generate a SHA1 hash. require the tre vars to be populated by values either extracted or predefined as a stand alone var then hashes them and populate the output var with that value.
Sample - contact support
Generate random characters
Generates a string of random characters with a specified length based on the value in the specified var. this works just as the generate random numbers plugin thats in ProxySniffer by default.
Sample - contact support
Generate Random Email Address
Generate random email address with a specified length (number of characters) as email name and adss a custom domain.
Sample - contact support
Generate Unix Timestamp
Generates current unix timestamp 10 digits long.
Sample - contact support
GetPercentOfANumber
Plugin to return the percent of a number. First input is the number to get percent from and second number is the percent.
Sample - contact support
Generate oauth 1.0 signature
Generates an oauth 1.0 signature, timestamp and nonce.
User can pass in values for oauth_key, oauth_secret, realm and optional values for oauth_timestamp, oauth_nonce,oauth_signature_method, oauth_token and oauth_token_secret. Plugin will generate values for oauth_signature, timestamp and nonce.
Sample - contact support
Modify Error Snapshots
Used to mask password from output logs and error snapshots. Pass in username as parameter (optional parameters: proxy host and proxy port). Used in conjunction with CredentialsMgrApica plugin. (note: this was created separately since this plugin runs after url execution versus pre url execution for Credentials Manager).
Sample - contact support
String Joiner
Combines two or more strings together (concatenate) into one.
Sample - contact support
Trim String
plugin to trim a string from the front and back with user specified length as integer.
Sample - contact support
Day Difference
Used to compare a date towards todays date. Must be a date which is in the future.
Sample - contact support
Day Difference Reversed
Used to compare a date towards todays date. Must be a date which is in the past.
Sample - contact support
GET ASM dictionary
Uses the GET-request from the ASM (Zebratester) API to get the request outside of ZebraTester to not affect the overall timings. Might need to manually change silo in the plugin code.
Sample - contact support
PUT ASM dictionary
Running the ASM API Dictionary PUT HTTP Request outside of ZebraTester to not affect the overall timings. Might need to manually change silo in the plugin code.
Sample - contact support
SFTP plugin (upload and download)
Plugin to download or upload file using SFTP and displays metrics using transactions. Modify execute method to download and/or upload from SFTP server. Uses built-in jsch from prxsniff.jar.
Sample - contact support
SFTP download file
This plugin connects to a sftp host, downloads a file and returns the file size and download time. Requires jar.
Sample - contact support
SSH and run command
This plugin connects to a remote host, runs a terminal command and returns the output. Requires jar.
Sample - contact support
ActiveMQ Support for ZT
Adds support for ActiveMQ within ZT. Requires a base64 encoded string containing the following settings: "Host Port Message Keystore Queue"
Requires the following libraries:
Sample - contact support
No Class added as Plugin needs Customer Customization.
Sample - contact support
IBM_WebsphereMQ for ZT
Adds support for IBM_WebsphereMQ within ZT. Requires a base64 encoded string containing the following settings.
Convert Timestamp to Unix
Using the format "yyyy-mm-dd hh:mm:ss" does also support "yyyy-mm-ddThh:mm:ss:MMM"
Converts into Unix seconds
Sample - contact support
Upload Custom Integer Value as Response Value in ASM GUI
Allows for upload of a custom integer value which is calculated in ZebraTester to the "Value" column of the Check Details view in ASM (replaces response time, etc)
Sample - contact support
Update Kerberos Username & PasswordB64 with input parameters/stand alone variables.
Allows for changing Kerberos credentials using raw strings (Password will be encoded in the plugin).
Sample - contact support
OTP/MFA Code Generator (Authenticator)
Generate one-time password by passing in secret key to the plugin.
Sample - contact support
Apica Data Repository REST API Plugin
The ADR REST API plugin allows for interaction with the Apica Data Repository REST API endpoints from a ZebraTester script. See How to Utilize Apica Data Repository From ZT - API Plugin Version for an example implementation.
Sample - contact support
Can't find what you're looking for? Send an E-mail to support@apica.io