Generated by TestNG with ReportNG at 22:56 PDT on Sunday 18 October 2020
root@43fec6d4badf / 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.578s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.776s
2020-10-18 23:12:57 |

2020-10-18 23:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-18 23:12:57 | ------------------------------------

2020-10-18 23:12:57 | [Mutex] isItemNotified: node_6nuf2o0203:exists :: false

2020-10-18 23:12:57 | [Mutex] waiting for: [node_6nuf2o0203:create_node]

2020-10-18 23:12:57 | [Mutex] received everything.

2020-10-18 23:12:57 | [Mutex] isItemNotified: node_6nuf2o0203:create_node:success :: true

2020-10-18 23:12:57 | [Mutex] waiting for: [node_6nuf2o0203:subscribe_node]

2020-10-18 23:12:57 | [Mutex] received everything.

2020-10-18 23:12:57 | [Mutex] isItemNotified: node_6nuf2o0203:subscribe_node:success :: true

2020-10-18 23:12:57 |


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


2020-10-18 23:12:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:12:57 | command: <data><node>node_6nuf2o0203</node><entry><content>content_5m8q2o0204</content></entry></data>

2020-10-18 23:12:57 | target: http://localhost:8088

2020-10-18 23:12:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:12:57 | entity: <data><node>node_6nuf2o0203</node><entry><content>content_5m8q2o0204</content></entry></data>

2020-10-18 23:12:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:12:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:12:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c943136-fe2f-45ff-920e-1105aed68c38</value></item-id></result>

2020-10-18 23:12:57 | contains: true

2020-10-18 23:12:57 | [Mutex] received everything.

2020-10-18 23:12:57 | [Mutex] isItemNotified: user_regularpjrhgq0202@test-domain.com:message:received:content_5m8q2o0204 :: true

2020-10-18 23:12:57 |


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


2020-10-18 23:12:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:12:57 | command: <data><node>node_6nuf2o0203</node><expire-at>2020-10-19T06:12:52Z</expire-at><entry><content>content_l115fo0205</content></entry></data>

2020-10-18 23:12:57 | target: http://localhost:8088

2020-10-18 23:12:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:12:57 | entity: <data><node>node_6nuf2o0203</node><expire-at>2020-10-19T06:12:52Z</expire-at><entry><content>content_l115fo0205</content></entry></data>

2020-10-18 23:12:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:12:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:12:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e9976561-85bc-4d2d-8118-51203fecae80</value></item-id></result>

2020-10-18 23:12:58 | contains: true

2020-10-18 23:12:58 | [Mutex] waiting for: [user_regularpjrhgq0202@test-domain.com:message:received:content_l115fo0205]

2020-10-18 23:13:13 | [Mutex] timeout. Not received [user_regularpjrhgq0202@test-domain.com:message:received:content_l115fo0205]

2020-10-18 23:13:13 | [Mutex] isItemNotified: user_regularpjrhgq0202@test-domain.com:message:received:content_l115fo0205 :: false

2020-10-18 23:13:13 |


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


2020-10-18 23:13:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:13:13 | command: <data><node>node_6nuf2o0203</node><entry><content>content_9l87090206</content></entry></data>

2020-10-18 23:13:13 | target: http://localhost:8088

2020-10-18 23:13:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:13:13 | entity: <data><node>node_6nuf2o0203</node><entry><content>content_9l87090206</content></entry></data>

2020-10-18 23:13:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:13:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:13:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>616f18d8-af57-4acf-8ab8-99e75460099f</value></item-id></result>

2020-10-18 23:13:13 | contains: true

2020-10-18 23:13:18 | [Mutex] waiting for: [user_regularpjrhgq0202@test-domain.com:message:received:content_9l87090206]

2020-10-18 23:13:18 | [Mutex] received everything.

2020-10-18 23:13:18 | [Mutex] isItemNotified: user_regularpjrhgq0202@test-domain.com:message:received:content_9l87090206 :: true

2020-10-18 23:13:18 |


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


2020-10-18 23:13:18 | [Mutex] received everything.

2020-10-18 23:13:18 | [Mutex] isItemNotified: node_6nuf2o0203:subscribe_node:success :: true

2020-10-18 23:13:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:13:18 | command: <data><node>node_6nuf2o0203</node><expire-at>2020-10-19T06:13:23Z</expire-at><entry><content>content_u3ao700207</content></entry></data>

2020-10-18 23:13:18 | target: http://localhost:8088

2020-10-18 23:13:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:13:18 | entity: <data><node>node_6nuf2o0203</node><expire-at>2020-10-19T06:13:23Z</expire-at><entry><content>content_u3ao700207</content></entry></data>

2020-10-18 23:13:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:13:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:13:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ecf1fd31-bf3d-40d7-92ce-2ce129a6dcea</value></item-id></result>

2020-10-18 23:13:18 | contains: true

2020-10-18 23:13:26 | [Mutex] waiting for: [user_regularpjrhgq0202@test-domain.com:message:received:content_u3ao700207]

2020-10-18 23:13:26 | [Mutex] waiting for: [user_regularpjrhgq0202@test-domain.com:message:received:content_u3ao700207]

2020-10-18 23:13:41 | [Mutex] timeout. Not received [user_regularpjrhgq0202@test-domain.com:message:received:content_u3ao700207]

2020-10-18 23:13:41 | [Mutex] received everything.

2020-10-18 23:13:41 | [Mutex] isItemNotified: user_regularpjrhgq0202@test-domain.com:message:received:content_u3ao700207 :: false

2020-10-18 23:13:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u3ao700207 :: true