elsa-core/test/unit/Elsa.Activities.UnitTests/Http
Sipke Schoorstra ad87ab96fd
Improves HTTP context loss error handling (#7187)
* Remove bookmark-based resumption logic for lost HTTP context scenarios in `WriteHttpResponse` and `WriteFileHttpResponse`.

Simplify error handling by throwing descriptive exceptions for workflows resuming without an available HTTP context.

* Add integration tests for HTTP context loss scenarios in `WriteHttpResponse` and `WriteFileHttpResponse`.

* Add integration tests for handling HTTP context loss in response activities.

* Replace bookmark-based logic with fault exceptions in tests for `WriteHttpResponse` and `WriteFileHttpResponse` when HTTP context is unavailable.

* Update agent-logs/http-context-loss-error-messaging.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/integration/Elsa.Http.IntegrationTests/Elsa.Http.IntegrationTests.csproj

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-12 16:51:30 +01:00
..
Helpers Add unit tests for FlowSendHttpRequest activity and refactor helper utilities (#6997) 2025-10-21 15:36:54 +02:00
DownloadHttpFileTests.cs Add unit and integration tests for DownloadHttpFile activity (#7094) 2025-11-24 14:37:06 +01:00
FlowSendHttpRequestTests.cs Add unit tests for FlowSendHttpRequest activity and refactor helper utilities (#6997) 2025-10-21 15:36:54 +02:00
HttpEndpointTests.cs PR comments 2025-12-03 15:30:17 +01:00
SendHttpRequestTests.cs Adds SetVariable activity unit tests (#6989) 2025-10-22 20:54:58 +02:00
WriteFileHttpResponseTests.cs Improves HTTP context loss error handling (#7187) 2026-01-12 16:51:30 +01:00
WriteHttpResponseTests.cs Improves HTTP context loss error handling (#7187) 2026-01-12 16:51:30 +01:00