- Kiran Patel
- PowerBuilder
- Tuesday, 8 December 2020 12:40 PM UTC
After Deploy application on client pc, I found on some pc Windows 7, Windows 10 application is very slow to retrieve data from server
Develop on Appeon PowerBuilder 2019 R2 Build 2353
Deploy on Windows 7, Windows 10 64Bit
On Development PC it take 1250 ms
but on client pc it take 22417 ms
//My Code
Integer li_rc
String ls_string
HttpClient lnv_HttpClient
lnv_HttpClient = Create HttpClient
int ll_start, ll_used
ll_start = cpu()
// Sends request using GET method
li_rc = lnv_HttpClient.SendRequest("GET", "https://demo.appeon.com/PB/webapi_client/employee/102")
ll_used = cpu() - ll_start
// Obtains the response data
if li_rc = 1 and lnv_HttpClient.GetResponseStatusCode() = 200 then
lnv_HttpClient.GetResponseBody(ls_string)
mle_1.text = ls_string
end if
messagebox("Response Time in ms",ll_used)
i have follow this post and check the fects
https://www.appeon.com/fr/standardsupport/search/view?id=1180
https://mx80.appeon.com/standardsupport/search/view?id=1328
Can any one face same issue, any suggestion on this issue.
attach sample code
Thank you
Kiran Pate
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.