Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Update dd-smoke-tests/rum/src/main/groovy/datadog/smoketest/rum/Abstr…
…actRumServerSmokeTest.groovy

Co-authored-by: Bruce Bujon <[email protected]>
  • Loading branch information
amarziali and PerfectSlayer committed Aug 8, 2025
commit 4b44a389d812cf32df3fb165ec3400b780ecab52
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class AbstractRumServerSmokeTest extends AbstractServerSmokeTest {
assert response.header('x-datadog-rum-injected') == '1': 'RUM injected header missing'
def content = response.body().string()
assert content.contains('https://www.datadoghq-browser-agent.com'): 'RUM script not injected'
assert content.endsWith('</html>')
assert content.endsWith('</html>'): 'Response not fully flushed'
}

static void assertRumNotInjected(Response response) {
Expand Down