Generated by TestNG with ReportNG at 22:19 PDT on Sunday 03 October 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.429s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.637s
2021-10-03 22:34:32 |

2021-10-03 22:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-03 22:34:32 | ------------------------------------

2021-10-03 22:34:32 | [Mutex] isItemNotified: node_j4qc0o0203:exists :: false

2021-10-03 22:34:32 | [Mutex] waiting for: [node_j4qc0o0203:create_node]

2021-10-03 22:34:32 | [Mutex] received everything.

2021-10-03 22:34:32 | [Mutex] isItemNotified: node_j4qc0o0203:create_node:success :: true

2021-10-03 22:34:32 | [Mutex] waiting for: [node_j4qc0o0203:subscribe_node]

2021-10-03 22:34:32 | [Mutex] waiting for: [node_j4qc0o0203:subscribe_node]

2021-10-03 22:34:32 | [Mutex] received everything.

2021-10-03 22:34:32 | [Mutex] isItemNotified: node_j4qc0o0203:subscribe_node:success :: true

2021-10-03 22:34:32 |


===== publishing normal message (to online)


2021-10-03 22:34:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 22:34:32 | command: <data><node>node_j4qc0o0203</node><entry><content>content_6la48u0204</content></entry></data>

2021-10-03 22:34:32 | target: http://localhost:8088

2021-10-03 22:34:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 22:34:32 | entity: <data><node>node_j4qc0o0203</node><entry><content>content_6la48u0204</content></entry></data>

2021-10-03 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 22:34:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f0faa4d7-89ad-4163-81a2-5f5d5be63ed2</value></item-id></result>

2021-10-03 22:34:32 | contains: true

2021-10-03 22:34:32 | [Mutex] received everything.

2021-10-03 22:34:32 | [Mutex] isItemNotified: user_regulare7xjrt0202@test-domain.com:message:received:content_6la48u0204 :: true

2021-10-03 22:34:32 |


===== publishing already old message - expecting message being filtered out (to online)


2021-10-03 22:34:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 22:34:32 | command: <data><node>node_j4qc0o0203</node><expire-at>2021-10-04T05:34:27Z</expire-at><entry><content>content_8ou0xp0205</content></entry></data>

2021-10-03 22:34:32 | target: http://localhost:8088

2021-10-03 22:34:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 22:34:32 | entity: <data><node>node_j4qc0o0203</node><expire-at>2021-10-04T05:34:27Z</expire-at><entry><content>content_8ou0xp0205</content></entry></data>

2021-10-03 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 22:34:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8d1e706f-1ed2-45bb-9d75-f8a5bf592717</value></item-id></result>

2021-10-03 22:34:33 | contains: true

2021-10-03 22:34:33 | [Mutex] waiting for: [user_regulare7xjrt0202@test-domain.com:message:received:content_8ou0xp0205]

2021-10-03 22:34:48 | [Mutex] timeout. Not received [user_regulare7xjrt0202@test-domain.com:message:received:content_8ou0xp0205]

2021-10-03 22:34:48 | [Mutex] isItemNotified: user_regulare7xjrt0202@test-domain.com:message:received:content_8ou0xp0205 :: false

2021-10-03 22:34:48 |


===== publishing normal message (to offline)


2021-10-03 22:34:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 22:34:48 | command: <data><node>node_j4qc0o0203</node><entry><content>content_qlfhfp0206</content></entry></data>

2021-10-03 22:34:48 | target: http://localhost:8088

2021-10-03 22:34:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 22:34:48 | entity: <data><node>node_j4qc0o0203</node><entry><content>content_qlfhfp0206</content></entry></data>

2021-10-03 22:34:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 22:34:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0dfdc214-b5bb-4cde-95a5-11288c6e1b02</value></item-id></result>

2021-10-03 22:34:48 | contains: true

2021-10-03 22:34:53 | [Mutex] waiting for: [user_regulare7xjrt0202@test-domain.com:message:received:content_qlfhfp0206]

2021-10-03 22:34:53 | [Mutex] received everything.

2021-10-03 22:34:53 | [Mutex] isItemNotified: user_regulare7xjrt0202@test-domain.com:message:received:content_qlfhfp0206 :: true

2021-10-03 22:34:53 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-10-03 22:34:53 | [Mutex] received everything.

2021-10-03 22:34:53 | [Mutex] isItemNotified: node_j4qc0o0203:subscribe_node:success :: true

2021-10-03 22:34:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 22:34:53 | command: <data><node>node_j4qc0o0203</node><expire-at>2021-10-04T05:34:58Z</expire-at><entry><content>content_qbprgs0207</content></entry></data>

2021-10-03 22:34:53 | target: http://localhost:8088

2021-10-03 22:34:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 22:34:53 | entity: <data><node>node_j4qc0o0203</node><expire-at>2021-10-04T05:34:58Z</expire-at><entry><content>content_qbprgs0207</content></entry></data>

2021-10-03 22:34:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 22:34:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c53b44b0-ca5f-4651-b055-caca9a6ec513</value></item-id></result>

2021-10-03 22:34:53 | contains: true

2021-10-03 22:35:01 | [Mutex] waiting for: [user_regulare7xjrt0202@test-domain.com:message:received:content_qbprgs0207]

2021-10-03 22:35:16 | [Mutex] timeout. Not received [user_regulare7xjrt0202@test-domain.com:message:received:content_qbprgs0207]

2021-10-03 22:35:16 | [Mutex] received everything.

2021-10-03 22:35:16 | [Mutex] isItemNotified: user_regulare7xjrt0202@test-domain.com:message:received:content_qbprgs0207 :: false

2021-10-03 22:35:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qbprgs0207 :: true