| Status | FAIL |
| Tests | 13 |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.003679225 seconds |
| Tags | #ALL |
| Total | 13 |
| Pass | 0 |
| Fail | 0 |
| Error | 13 |
| Disable | 0 |
| Skip | 0 |
| Total | 0 |
| Low | 0 |
| Minor | 0 |
| Major | 0 |
| Critical | 0 |
| Blocker | 0 |
| Total | 13 |
| Rest Api | 0 |
| Global Variables | 13 |
| Bug | 0 |
| Logger | 0 |
| Unexpected | 0 |
| Name | t_1 (root file) [1] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000759389 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 6, in t_1
GlobalVariables.set()
EXCEPTION
---------
GlobalVariables.set() missing 2 required positional arguments: 'name' and 'value'
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_10 (root file) [2] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.00017689 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 52, in t_10
GlobalVariables.get(1, 2, 3, 4, 5, 6, 7, 8)
EXCEPTION
---------
GlobalVariables.get() takes 2 positional arguments but 9 were given
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_11 (root file) [3] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000156845 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 57, in t_11
GlobalVariables.get(name1="name")
EXCEPTION
---------
GlobalVariables.get() got an unexpected keyword argument 'name1'
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_12 (root file) [4] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000275704 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 62, in t_12
GlobalVariables.get(name=True)
EXCEPTION
---------
Invalid data type for name. Please provide a valid string
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_13 (root file) [5] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000208953 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 67, in t_13
GlobalVariables.get(name='INVALID NAME')
EXCEPTION
---------
Global variable "INVALID NAME" not found
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_2 (root file) [6] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000154331 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 11, in t_2
GlobalVariables.set(1, 2, 3, 4, 5, 6, 7, 8)
EXCEPTION
---------
GlobalVariables.set() takes from 3 to 4 positional arguments but 9 were given
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_3 (root file) [7] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000150531 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 16, in t_3
GlobalVariables.set(name1="name")
EXCEPTION
---------
GlobalVariables.set() got an unexpected keyword argument 'name1'
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_4 (root file) [8] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.00015497 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 21, in t_4
GlobalVariables.set(name=True)
EXCEPTION
---------
GlobalVariables.set() missing 1 required positional argument: 'value'
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_5 (root file) [9] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000162 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 26, in t_5
GlobalVariables.set(name=True, value=[])
EXCEPTION
---------
Invalid data type for name. Please provide a valid string
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_6 (root file) [10] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000162482 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 31, in t_6
GlobalVariables.set(name='', value='')
EXCEPTION
---------
Empty value for name. Please provide a valid string
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_7 (root file) [11] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000160318 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 36, in t_7
GlobalVariables.set(name='n', value='', is_constant="C O N S T A N T")
EXCEPTION
---------
Invalid data type for is_constant. Please provide a valid boolean
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_8 (root file) [12] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000167971 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 42, in t_8
GlobalVariables.set(name='const_var', value='100', is_constant=True)
EXCEPTION
---------
Constant global variable "const_var" cannot be updated
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])
| Name | t_9 (root file) [13] |
| Description | |
| Asynchronous | True |
| Testsuite | root file |
| Tags | #ALL |
| Start | 2023-04-08 18-38-05 |
| End | 2023-04-08 18-38-05 |
| Duration | 0.000148646 seconds |
| Bug Priority | |
| Error Type | Global Variables |
TRACEBACKS
----------
File "/Users/test_rest_api/_errors/1. global_variables.py", line 47, in t_9
GlobalVariables.get()
EXCEPTION
---------
GlobalVariables.get() missing 1 required positional argument: 'name'
ERROR MESSAGE
-------------
Global Variables Error
Example Code
------------
(Example 1)
from test_rest_api import GlobalVariables
GlobalVariables.set("variable_name", variable_value)
variable = GlobalVariables.get("variable_name")
(Example 2)
from test_rest_api import GlobalVariables
GlobalVariables.set(name= "variable_name", value= "variable_value", is_constant= False)
variable: str = GlobalVariables.get(name= "variable_name")
Note: Both the above 2 examples does the same functionality but with different syntax
Set is_constant = True, for constant values
is_constant is an optional attribute
Default is_constant: False
We can store value of any datatypes in global variables including dict, list, set, tuple, str, int etc
GlobalVariables.set(name= "my_list", value= [1, 2, 3])