9.2 - Appvance - HAR

Appvance - HAR — Knowledge Base articles.

HAR Knowledge Base Overview

Last updated: October 16, 2026

Data-Enable HAR Scripts in AIQ

Data Enabing HAR scripts for Web:

Appvance IQ implements a Data Production Library (DPL) as an extensible framework to provide operational test data to test script runners at test runtime. The DPL framework is general in that data may be input from a variety of sources, including a relational database, comma-separated-value file, and data generating objects. A DPL also provides a safe way to store data between test steps. Appvance IQ comes with pre-built DPLs and makes it easy for software developers to add their own custom DPLs.
In our case we will be using "CSV" data sheet to data enable in HAR script.
The steps that needs to be followed while data enabling HAR scripts are as below:
1) Record the script with username and password on chrome browser and save the script


2) Open the saved script and search for the username/password you have entered in the url and create a .CSV sheet with the entered username and password as header in CSV sheet and give desired number of usernames and password below the headers.
For Ex:
If I have used appleuser1 as the Username and appleuser@123 as the password. Then we need to replace the appleuser1 and appleuser%40123(please see below instruction for any special character used in the password) in the HAR script which will be used as Header in the CSV sheet.

Also make sure if there are any special characters in the password we need to replace it with corresponding value with respect to HAR script

For ex:
1) ! = %21
2) @= %40
NOTE:If the Password is appleuser@123 the entry in the csv sheet should be appleuser%40123
For more information on the special characters and the corresponding value to be used in the script, see Special Character value to be replaced in HAR script.

3) We can upload the .HAR script and .csv sheet in Appvance Scenario Builder.

Choose the Script type as HAR and name the test
Choose the HAR script and select
Upload the CSV sheet in Resources Tab and choose the Action as "Next row of Data" by clicking Add DPL in Test Cases tab
Save and play the scenario
4) Check the script execution in IQ controller
you can also monitor if the script is replacing the appropriate values through the Appvance IQ controller by Clicking on Test case(s) Executions and select the result and click Output.



Last updated: June 26, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai

HAR Advanced options questions.

Question: In the advanced HAR option, how does Appvance IQ interpret the connection reset?

Response:

Question: Is there any way with which I can avoid connection reset.


Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at documentation@appvance.ai

Response Times

Sometimes in HAR we see 0 sec Response times for few of the request, what is the reason behind this?

Here is what we believe is happening:

The explanation is that the request are being stopped by a layer before the final web app, a load balancer or a process that validates the request and is returning a small response, very fast, thats why they see 0 sec response times, saying something similar to "The url has moved. Find it in this url: ....", with response code 200. So appvance is hitting this layer and getting a valid response back.

Since we do not know what the expected response is we see this as a valid response and mark that step as passed

Which arguably it is a valid step

But since we never jump to the new url the app server never sees the traffic.


Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at documentation@appvance.ai

Special Character value to be replaced in HAR script

This article contains the values of special characters that needs to be replaced in HAR script

There are some special characters in HAR which are used as their original form like .(dot) , _(underscore) and so on. For other special character whose values have to replaced have been mentioned below along with the ones whose values remains same

1) ,(comma)= %2C(the Value of comma should be replaced with %2C. The same logic applies to all the below values)
2) .=.(dot values to dot)
3) /=%2F(Forward slash values to %2F)
4) <=%3C(Less than values to %3C)
5) >=%3E(Greater than values to %3E)
6) ?=%3F(Question mark values to %3F )
7) ;=%3B(Semi colon values to %3B )
8) '='(Apostrope values to Apostrophe)
9) :=%3A(Colon values to %3A)
10) "=%22(Quotation values to %22)
11) `=%60(Back tick values to %60)
12) ~=~(Tilde values to Tilde)
13) !=!(Exclamation values to Exclamation)
14) @=%40(At sign values to %40)
15) #=%23(Hash values to %23)
16) $=%24(Dollar values to %24)
17) %=%25(Perecnt values to %25)
18) ^=%5E(Caret values to %5E )
19) &=%26(Ampersand values to %26)
20) *=* (star values to star)
21) )=) (Right open bracket values to Right open bracket)
22) (=)(Left open bracket values to left open bracket)
23) _=_(underscore values to underscore)
24) +=%2B(Plus values to %2B)
25) -=- (Minus values to minus)
26) "="=%3D(Equals to values to %3D)
27) [=%5B(Left open square bracket values to %5B)
28) ]=%5D(Right open square bracket values to %5D)
29) \=%5C(Backward slash values to %5C)
30) {=%7B(left open flower bracket values to &7B)
31) }=%7D(right open flower bracket values to %7D)
32) |=%7C(Vertical bar values to %7C)

33) Space is equivalent to "+"(addition symbol)



Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at documentation@appvance.ai