Dear community,
we are working on a Load Test Solution for our System (NAV 2015).
One of our Scenarios requires File Upload.
As we figured out already File uploading is not supported by Loadt Test Suite, so we come around with the following Workaround:
We created a Webservice which will invoke the File Upload.
The Websersice Function calls a SetParameter function in the Report which is doing the Excel File Import and sets all necessary Parameters including SilentFileUpload.
If i call the Webservice Function directly from Client it works as expected but the same call via Webservice stops with the follwoing Error in Visual Studio:
I identified the ClientFileHelpder Variable in CU 419 as the Error source as its set to run on Client.
I could copy the Function and change the Setting but im quite Sure that this will not help as it fill try to upload the temporary file vom server to NAV later on again where i will be having the same issue.
Where you facing the same issue already and having a solution for a scenario like this or some ideas how to solve this issue?
Thanks for your input,
Alex
For those who are on TechDays - Enjoy it
we are working on a Load Test Solution for our System (NAV 2015).
One of our Scenarios requires File Upload.
As we figured out already File uploading is not supported by Loadt Test Suite, so we come around with the following Workaround:
We created a Webservice which will invoke the File Upload.
The Websersice Function calls a SetParameter function in the Report which is doing the Excel File Import and sets all necessary Parameters including SilentFileUpload.
If i call the Webservice Function directly from Client it works as expected but the same call via Webservice stops with the follwoing Error in Visual Studio:
Additional information:
Microsoft Dynamics NAV Business Web Services attempted to issue a client callback to create a DotNet object:
System.IO.File (CodeUnit 419 File Management).
Client callbacks are not supported on Microsoft Dynamics NAV Business Web Services.
I identified the ClientFileHelpder Variable in CU 419 as the Error source as its set to run on Client.
I could copy the Function and change the Setting but im quite Sure that this will not help as it fill try to upload the temporary file vom server to NAV later on again where i will be having the same issue.
Where you facing the same issue already and having a solution for a scenario like this or some ideas how to solve this issue?
Thanks for your input,
Alex
For those who are on TechDays - Enjoy it