Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Version: Available or changed with runtime version 15.0.
Gets or sets a value that indicates if the HTTP request was successful or not. By setting this value it is possible to mock the return value of the HttpClient call.
Syntax
[IsSuccessfulRequest := ] TestHttpResponseMessage.IsSuccessfulRequest([SetIsSuccessfulRequest: Boolean])
Note
This method can be invoked using property access syntax.
Parameters
TestHttpResponseMessage
Type: TestHttpResponseMessage
An instance of the TestHttpResponseMessage data type.
[Optional] SetIsSuccessfulRequest
Type: Boolean
true if the HttpClient request should indicate success, otherwise false.
Return Value
[Optional] IsSuccessfulRequest
Type: Boolean
true if the HttpClient request should indicate success, otherwise false.
Related information
TestHttpResponseMessage data type
Getting started with AL
Developing extensions