Generated by TestNG with ReportNG at 22:06 PST on Monday 06 December 2021
root@785cf647a4ab / 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.249s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2021-12-06 22:25:42 |

2021-12-06 22:25:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-06 22:25:42 | ------------------------------------

2021-12-06 22:25:42 | [Mutex] isItemNotified: node_ttt6qm0203:exists :: false

2021-12-06 22:25:42 | [Mutex] waiting for: [node_ttt6qm0203:create_node]

2021-12-06 22:25:42 | [Mutex] received everything.

2021-12-06 22:25:42 | [Mutex] isItemNotified: node_ttt6qm0203:create_node:success :: true

2021-12-06 22:25:42 | [Mutex] waiting for: [node_ttt6qm0203:subscribe_node]

2021-12-06 22:25:42 | [Mutex] received everything.

2021-12-06 22:25:42 | [Mutex] isItemNotified: node_ttt6qm0203:subscribe_node:success :: true

2021-12-06 22:25:42 |


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


2021-12-06 22:25:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:25:42 | command: <data><node>node_ttt6qm0203</node><entry><content>content_jxux990204</content></entry></data>

2021-12-06 22:25:42 | target: http://localhost:8088

2021-12-06 22:25:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-06 22:25:42 | entity: <data><node>node_ttt6qm0203</node><entry><content>content_jxux990204</content></entry></data>

2021-12-06 22:25:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:25:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:25:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9998b87-d161-4702-8c8c-c94076819372</value></item-id></result>

2021-12-06 22:25:42 | contains: true

2021-12-06 22:25:42 | [Mutex] waiting for: [user_regular6p1eyg0202@test-domain.com:message:received:content_jxux990204]

2021-12-06 22:25:42 | [Mutex] received everything.

2021-12-06 22:25:42 | [Mutex] isItemNotified: user_regular6p1eyg0202@test-domain.com:message:received:content_jxux990204 :: true

2021-12-06 22:25:42 |


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


2021-12-06 22:25:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:25:42 | command: <data><node>node_ttt6qm0203</node><expire-at>2021-12-07T06:25:37Z</expire-at><entry><content>content_wybpxw0205</content></entry></data>

2021-12-06 22:25:42 | target: http://localhost:8088

2021-12-06 22:25:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-06 22:25:42 | entity: <data><node>node_ttt6qm0203</node><expire-at>2021-12-07T06:25:37Z</expire-at><entry><content>content_wybpxw0205</content></entry></data>

2021-12-06 22:25:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:25:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:25:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e9189f0-85c7-4ade-93be-6e028204e577</value></item-id></result>

2021-12-06 22:25:42 | contains: true

2021-12-06 22:25:42 | [Mutex] waiting for: [user_regular6p1eyg0202@test-domain.com:message:received:content_wybpxw0205]

2021-12-06 22:25:57 | [Mutex] timeout. Not received [user_regular6p1eyg0202@test-domain.com:message:received:content_wybpxw0205]

2021-12-06 22:25:57 | [Mutex] isItemNotified: user_regular6p1eyg0202@test-domain.com:message:received:content_wybpxw0205 :: false

2021-12-06 22:25:57 |


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


2021-12-06 22:25:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:25:57 | command: <data><node>node_ttt6qm0203</node><entry><content>content_4no8lr0206</content></entry></data>

2021-12-06 22:25:57 | target: http://localhost:8088

2021-12-06 22:25:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-06 22:25:57 | entity: <data><node>node_ttt6qm0203</node><entry><content>content_4no8lr0206</content></entry></data>

2021-12-06 22:25:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:25:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:25:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>095b9eaa-2468-420f-9bb9-24436229a42a</value></item-id></result>

2021-12-06 22:25:57 | contains: true

2021-12-06 22:26:03 | [Mutex] waiting for: [user_regular6p1eyg0202@test-domain.com:message:received:content_4no8lr0206]

2021-12-06 22:26:03 | [Mutex] received everything.

2021-12-06 22:26:03 | [Mutex] isItemNotified: user_regular6p1eyg0202@test-domain.com:message:received:content_4no8lr0206 :: true

2021-12-06 22:26:03 |


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


2021-12-06 22:26:03 | [Mutex] received everything.

2021-12-06 22:26:03 | [Mutex] isItemNotified: node_ttt6qm0203:subscribe_node:success :: true

2021-12-06 22:26:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:26:03 | command: <data><node>node_ttt6qm0203</node><expire-at>2021-12-07T06:26:08Z</expire-at><entry><content>content_kydi7z0207</content></entry></data>

2021-12-06 22:26:03 | target: http://localhost:8088

2021-12-06 22:26:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-06 22:26:03 | entity: <data><node>node_ttt6qm0203</node><expire-at>2021-12-07T06:26:08Z</expire-at><entry><content>content_kydi7z0207</content></entry></data>

2021-12-06 22:26:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:26:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:26:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d005c0b8-8259-4061-bb81-1b36394df3e9</value></item-id></result>

2021-12-06 22:26:03 | contains: true

2021-12-06 22:26:11 | [Mutex] waiting for: [user_regular6p1eyg0202@test-domain.com:message:received:content_kydi7z0207]

2021-12-06 22:26:26 | [Mutex] timeout. Not received [user_regular6p1eyg0202@test-domain.com:message:received:content_kydi7z0207]

2021-12-06 22:26:26 | [Mutex] received everything.

2021-12-06 22:26:26 | [Mutex] isItemNotified: user_regular6p1eyg0202@test-domain.com:message:received:content_kydi7z0207 :: false

2021-12-06 22:26:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kydi7z0207 :: true