Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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