Generated by TestNG with ReportNG at 21:58 PST on Thursday 14 January 2021
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.152s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.772s
2021-01-14 22:14:18 |

2021-01-14 22:14:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-14 22:14:18 | ------------------------------------

2021-01-14 22:14:18 | [Mutex] isItemNotified: node_l9lyrl0203:exists :: false

2021-01-14 22:14:18 | [Mutex] waiting for: [node_l9lyrl0203:create_node]

2021-01-14 22:14:18 | [Mutex] received everything.

2021-01-14 22:14:18 | [Mutex] isItemNotified: node_l9lyrl0203:create_node:success :: true

2021-01-14 22:14:18 | [Mutex] waiting for: [node_l9lyrl0203:subscribe_node]

2021-01-14 22:14:18 | [Mutex] received everything.

2021-01-14 22:14:18 | [Mutex] isItemNotified: node_l9lyrl0203:subscribe_node:success :: true

2021-01-14 22:14:18 |


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


2021-01-14 22:14:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:18 | command: <data><node>node_l9lyrl0203</node><entry><content>content_m3ei2k0204</content></entry></data>

2021-01-14 22:14:18 | target: http://localhost:8088

2021-01-14 22:14:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 22:14:18 | entity: <data><node>node_l9lyrl0203</node><entry><content>content_m3ei2k0204</content></entry></data>

2021-01-14 22:14:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0106bf2-fc58-49ff-a2a9-108d64bd1a8c</value></item-id></result>

2021-01-14 22:14:18 | contains: true

2021-01-14 22:14:18 | [Mutex] received everything.

2021-01-14 22:14:18 | [Mutex] isItemNotified: user_regularu5u4hx0202@test-domain.com:message:received:content_m3ei2k0204 :: true

2021-01-14 22:14:18 |


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


2021-01-14 22:14:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:18 | command: <data><node>node_l9lyrl0203</node><expire-at>2021-01-15T06:14:13Z</expire-at><entry><content>content_dunuef0205</content></entry></data>

2021-01-14 22:14:18 | target: http://localhost:8088

2021-01-14 22:14:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 22:14:18 | entity: <data><node>node_l9lyrl0203</node><expire-at>2021-01-15T06:14:13Z</expire-at><entry><content>content_dunuef0205</content></entry></data>

2021-01-14 22:14:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67cfa056-193c-4983-9eb9-29eba674cd3e</value></item-id></result>

2021-01-14 22:14:18 | contains: true

2021-01-14 22:14:18 | [Mutex] waiting for: [user_regularu5u4hx0202@test-domain.com:message:received:content_dunuef0205]

2021-01-14 22:14:33 | [Mutex] timeout. Not received [user_regularu5u4hx0202@test-domain.com:message:received:content_dunuef0205]

2021-01-14 22:14:33 | [Mutex] isItemNotified: user_regularu5u4hx0202@test-domain.com:message:received:content_dunuef0205 :: false

2021-01-14 22:14:33 |


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


2021-01-14 22:14:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:34 | command: <data><node>node_l9lyrl0203</node><entry><content>content_7qktws0206</content></entry></data>

2021-01-14 22:14:34 | target: http://localhost:8088

2021-01-14 22:14:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 22:14:34 | entity: <data><node>node_l9lyrl0203</node><entry><content>content_7qktws0206</content></entry></data>

2021-01-14 22:14:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a0def70-4a67-46a5-b6fc-b086288e1663</value></item-id></result>

2021-01-14 22:14:34 | contains: true

2021-01-14 22:14:39 | [Mutex] waiting for: [user_regularu5u4hx0202@test-domain.com:message:received:content_7qktws0206]

2021-01-14 22:14:39 | [Mutex] received everything.

2021-01-14 22:14:39 | [Mutex] isItemNotified: user_regularu5u4hx0202@test-domain.com:message:received:content_7qktws0206 :: true

2021-01-14 22:14:39 |


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


2021-01-14 22:14:39 | [Mutex] received everything.

2021-01-14 22:14:39 | [Mutex] isItemNotified: node_l9lyrl0203:subscribe_node:success :: true

2021-01-14 22:14:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:39 | command: <data><node>node_l9lyrl0203</node><expire-at>2021-01-15T06:14:44Z</expire-at><entry><content>content_f9pegn0207</content></entry></data>

2021-01-14 22:14:39 | target: http://localhost:8088

2021-01-14 22:14:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 22:14:39 | entity: <data><node>node_l9lyrl0203</node><expire-at>2021-01-15T06:14:44Z</expire-at><entry><content>content_f9pegn0207</content></entry></data>

2021-01-14 22:14:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>873d8e6d-bdeb-41cf-b48b-32fa736cc484</value></item-id></result>

2021-01-14 22:14:39 | contains: true

2021-01-14 22:14:47 | [Mutex] waiting for: [user_regularu5u4hx0202@test-domain.com:message:received:content_f9pegn0207]

2021-01-14 22:14:47 | [Mutex] waiting for: [user_regularu5u4hx0202@test-domain.com:message:received:content_f9pegn0207]

2021-01-14 22:15:02 | [Mutex] timeout. Not received [user_regularu5u4hx0202@test-domain.com:message:received:content_f9pegn0207]

2021-01-14 22:15:02 | [Mutex] received everything.

2021-01-14 22:15:02 | [Mutex] isItemNotified: user_regularu5u4hx0202@test-domain.com:message:received:content_f9pegn0207 :: false

2021-01-14 22:15:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f9pegn0207 :: true