Generated by TestNG with ReportNG at 22:29 PDT on Thursday 13 May 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.383s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.693s
2021-05-13 22:44:57 |

2021-05-13 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-13 22:44:57 | ------------------------------------

2021-05-13 22:44:57 | [Mutex] isItemNotified: node_6bmbh00203:exists :: false

2021-05-13 22:44:57 | [Mutex] waiting for: [node_6bmbh00203:create_node]

2021-05-13 22:44:57 | [Mutex] received everything.

2021-05-13 22:44:57 | [Mutex] isItemNotified: node_6bmbh00203:create_node:success :: true

2021-05-13 22:44:57 | [Mutex] waiting for: [node_6bmbh00203:subscribe_node]

2021-05-13 22:44:57 | [Mutex] waiting for: [node_6bmbh00203:subscribe_node]

2021-05-13 22:44:57 | [Mutex] received everything.

2021-05-13 22:44:57 | [Mutex] isItemNotified: node_6bmbh00203:subscribe_node:success :: true

2021-05-13 22:44:57 |


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


2021-05-13 22:44:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:44:57 | command: <data><node>node_6bmbh00203</node><entry><content>content_kzrjx30204</content></entry></data>

2021-05-13 22:44:57 | target: http://localhost:8088

2021-05-13 22:44:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-13 22:44:57 | entity: <data><node>node_6bmbh00203</node><entry><content>content_kzrjx30204</content></entry></data>

2021-05-13 22:44:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:44:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:44:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f688dfd0-91b2-4d19-9b46-cdb1d867e92d</value></item-id></result>

2021-05-13 22:44:57 | contains: true

2021-05-13 22:44:57 | [Mutex] received everything.

2021-05-13 22:44:57 | [Mutex] isItemNotified: user_regularf4r2g20202@test-domain.com:message:received:content_kzrjx30204 :: true

2021-05-13 22:44:57 |


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


2021-05-13 22:44:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:44:57 | command: <data><node>node_6bmbh00203</node><expire-at>2021-05-14T05:44:52Z</expire-at><entry><content>content_y8igvp0205</content></entry></data>

2021-05-13 22:44:57 | target: http://localhost:8088

2021-05-13 22:44:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-13 22:44:57 | entity: <data><node>node_6bmbh00203</node><expire-at>2021-05-14T05:44:52Z</expire-at><entry><content>content_y8igvp0205</content></entry></data>

2021-05-13 22:44:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:44:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:44:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4fc99af4-5e41-4be2-a48b-e78e129d0a90</value></item-id></result>

2021-05-13 22:44:57 | contains: true

2021-05-13 22:44:57 | [Mutex] waiting for: [user_regularf4r2g20202@test-domain.com:message:received:content_y8igvp0205]

2021-05-13 22:45:12 | [Mutex] timeout. Not received [user_regularf4r2g20202@test-domain.com:message:received:content_y8igvp0205]

2021-05-13 22:45:12 | [Mutex] isItemNotified: user_regularf4r2g20202@test-domain.com:message:received:content_y8igvp0205 :: false

2021-05-13 22:45:12 |


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


2021-05-13 22:45:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:45:12 | command: <data><node>node_6bmbh00203</node><entry><content>content_alxgrc0206</content></entry></data>

2021-05-13 22:45:12 | target: http://localhost:8088

2021-05-13 22:45:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-13 22:45:12 | entity: <data><node>node_6bmbh00203</node><entry><content>content_alxgrc0206</content></entry></data>

2021-05-13 22:45:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:45:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:45:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f8bb71f1-2c2f-4f19-a888-e92c2a9a8b44</value></item-id></result>

2021-05-13 22:45:12 | contains: true

2021-05-13 22:45:17 | [Mutex] waiting for: [user_regularf4r2g20202@test-domain.com:message:received:content_alxgrc0206]

2021-05-13 22:45:17 | [Mutex] received everything.

2021-05-13 22:45:17 | [Mutex] isItemNotified: user_regularf4r2g20202@test-domain.com:message:received:content_alxgrc0206 :: true

2021-05-13 22:45:17 |


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


2021-05-13 22:45:17 | [Mutex] received everything.

2021-05-13 22:45:17 | [Mutex] isItemNotified: node_6bmbh00203:subscribe_node:success :: true

2021-05-13 22:45:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:45:17 | command: <data><node>node_6bmbh00203</node><expire-at>2021-05-14T05:45:22Z</expire-at><entry><content>content_6c3ks00207</content></entry></data>

2021-05-13 22:45:17 | target: http://localhost:8088

2021-05-13 22:45:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-13 22:45:17 | entity: <data><node>node_6bmbh00203</node><expire-at>2021-05-14T05:45:22Z</expire-at><entry><content>content_6c3ks00207</content></entry></data>

2021-05-13 22:45:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:45:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:45:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2973e549-46b6-434c-a94e-faa6b7332238</value></item-id></result>

2021-05-13 22:45:17 | contains: true

2021-05-13 22:45:25 | [Mutex] waiting for: [user_regularf4r2g20202@test-domain.com:message:received:content_6c3ks00207]

2021-05-13 22:45:25 | [Mutex] waiting for: [user_regularf4r2g20202@test-domain.com:message:received:content_6c3ks00207]

2021-05-13 22:45:40 | [Mutex] timeout. Not received [user_regularf4r2g20202@test-domain.com:message:received:content_6c3ks00207]

2021-05-13 22:45:40 | [Mutex] received everything.

2021-05-13 22:45:40 | [Mutex] isItemNotified: user_regularf4r2g20202@test-domain.com:message:received:content_6c3ks00207 :: false

2021-05-13 22:45:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6c3ks00207 :: true