חסרות לי כל פונקציות הtest – הן מאוד עוזרות כשמקימים אינטגרציה ראשונית. מבקש לתאר ולהסביר בפרק נפרד של "פונקציות בדיקה"
i. Sys_Test
ii. Sys_TestEcho
iii. Sys_VerifyUserPrior to integrating the SDK for the first time, there are a number of tests that can be helpful in understanding the errors that might be encountered.
Sys_Test
The goal of this test is to ensure that you are able to communicate with the Galooli Cloud/ Service. You will receive an IP address as the answer from the Galooli Cloud/ Service support, which indicates that the test is valid.
Code Block |
---|
https://sdk.galooli-systems.com/json/sys_Test?userName=[MY USER]&password=[MY PASSWORD] |
Sys_TestEcho
The purpose of this test is to ensure that the system correctly responds to parameters entered by checking that the parameters have been received and sent.
Write down the test word after the = symbol, and you will see the same word in the test results, indicating that the test is valid.
Code Block |
---|
https://sdk.galooli-systems.com/Json/sys_TestEcho?userName=[MY USER]&password=[MY PASSWORD]&str=[test] |
Sys_VerifyUser
It is the purpose of this test to verify the accuracy of the user, the IP address, and the max allowed requested interval
Upon completion of the test, you will receive the user name, IP address, and the maximum allowed requested interval, which indicates that the test was successful.
Code Block |
---|
https://sdk.galooli-systems.com/Json/sys_VerifyUser?userName=[MY USER]&password=[MY PASSWORD] |
Expected Result
Sys_Test
Code Block |
---|
Test. [IP NUMBER] |
Sys_TestEcho
Code Block |
---|
[Test Word] |
Sys_VerifyUser
Code Block |
---|
User [MY USER] @ IP Source [IP ADDRESS] is valid ,max allowed requested interval : [X sec] |