11/15/2019
Hi Team,
There is one test case in Session Service which says: maxRequestMessageSize is decades larger than maxResponseMessageSize, e.g. maxResponseMessageSize * 10. If the requested MaxResponseMessageSize == 0 then set revise the MaxRequestMessageSize = 500;
CTT script is associate with this test case is Err-027.js. Some snippet from it:
if( request.MaxResponseMessageSize <= 0 ) response.MaxRequestMessageSize = 500;
else response.MaxRequestMessageSize = 10 * request.MaxResponseMessageSize;
print( "MaxRequestMessageSize is NOW = " + response.MaxRequestMessageSize );
Wherein, I am getting MaxRequestMessageSize=41943040 & MaxResponseMessageSize=4194304 which is as injected by CTT script. But, didn't understand what is the importance of this test case ? Why do we need to do this multiplication by 10 ? How can we verify other case where request.MaxResponseMessageSize <= 0 ?
Please help me in understanding this test case.
Moderators
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-ProductsServices
07/11/2017
Dear Dipika,
the intend of this test case is to ensure, that the client is having different variables for the MaxRequestMessageSize and the MaxResponseMessageSize. But the wording could be improved to point this out clearer.
Could you please create a Mantis Issue for the Test Case so we can enhance it for the future?
Regards,
Alexander Allmendinger
11/15/2019
Thank you Alexander for reply.
Please let me know if I understood your comment correctly or not. This test case is asking an OPC client to ensure; client has two different variables (Constants) holding a values for MaxRequestMessageSize e.g., MaxRequestMessageSize=1MB & MaxResponseMessageSize=2MB.
As suggested, created Mantis Issue for improvement in text. 0005635: Improve test case description - Session Service - Err-027.Â
1 Guest(s)