Generated by TestNG with ReportNG at 07:52 PST on Tuesday 24 November 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.655s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.761s
2020-11-24 08:08:54 |

2020-11-24 08:08:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-24 08:08:54 | ------------------------------------

2020-11-24 08:08:54 | [Mutex] isItemNotified: node_1hxhgr0203:exists :: false

2020-11-24 08:08:54 | [Mutex] waiting for: [node_1hxhgr0203:create_node]

2020-11-24 08:08:54 | [Mutex] received everything.

2020-11-24 08:08:54 | [Mutex] isItemNotified: node_1hxhgr0203:create_node:success :: true

2020-11-24 08:08:54 | [Mutex] waiting for: [node_1hxhgr0203:subscribe_node]

2020-11-24 08:08:54 | [Mutex] received everything.

2020-11-24 08:08:54 | [Mutex] isItemNotified: node_1hxhgr0203:subscribe_node:success :: true

2020-11-24 08:08:54 |


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


2020-11-24 08:08:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:08:54 | command: <data><node>node_1hxhgr0203</node><entry><content>content_cdvh3s0204</content></entry></data>

2020-11-24 08:08:54 | target: http://localhost:8088

2020-11-24 08:08:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-24 08:08:54 | entity: <data><node>node_1hxhgr0203</node><entry><content>content_cdvh3s0204</content></entry></data>

2020-11-24 08:08:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:08:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:08:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>502fbd0b-9ec4-410b-bfdd-7a3ec5c59d90</value></item-id></result>

2020-11-24 08:08:54 | contains: true

2020-11-24 08:08:54 | [Mutex] received everything.

2020-11-24 08:08:54 | [Mutex] isItemNotified: user_regular6ntnai0202@test-domain.com:message:received:content_cdvh3s0204 :: true

2020-11-24 08:08:54 |


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


2020-11-24 08:08:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:08:54 | command: <data><node>node_1hxhgr0203</node><expire-at>2020-11-24T16:08:49Z</expire-at><entry><content>content_a4wsxn0205</content></entry></data>

2020-11-24 08:08:54 | target: http://localhost:8088

2020-11-24 08:08:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-24 08:08:54 | entity: <data><node>node_1hxhgr0203</node><expire-at>2020-11-24T16:08:49Z</expire-at><entry><content>content_a4wsxn0205</content></entry></data>

2020-11-24 08:08:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:08:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:08:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed1a28d3-d2a9-4106-bdf8-acf687ed7bd8</value></item-id></result>

2020-11-24 08:08:54 | contains: true

2020-11-24 08:08:54 | [Mutex] waiting for: [user_regular6ntnai0202@test-domain.com:message:received:content_a4wsxn0205]

2020-11-24 08:09:09 | [Mutex] timeout. Not received [user_regular6ntnai0202@test-domain.com:message:received:content_a4wsxn0205]

2020-11-24 08:09:09 | [Mutex] isItemNotified: user_regular6ntnai0202@test-domain.com:message:received:content_a4wsxn0205 :: false

2020-11-24 08:09:09 |


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


2020-11-24 08:09:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:09:09 | command: <data><node>node_1hxhgr0203</node><entry><content>content_mwj8oe0206</content></entry></data>

2020-11-24 08:09:09 | target: http://localhost:8088

2020-11-24 08:09:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-24 08:09:09 | entity: <data><node>node_1hxhgr0203</node><entry><content>content_mwj8oe0206</content></entry></data>

2020-11-24 08:09:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:09:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:09:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eb43645b-4360-44a8-9d87-b674b81f7af0</value></item-id></result>

2020-11-24 08:09:09 | contains: true

2020-11-24 08:09:14 | [Mutex] waiting for: [user_regular6ntnai0202@test-domain.com:message:received:content_mwj8oe0206]

2020-11-24 08:09:14 | [Mutex] received everything.

2020-11-24 08:09:14 | [Mutex] isItemNotified: user_regular6ntnai0202@test-domain.com:message:received:content_mwj8oe0206 :: true

2020-11-24 08:09:14 |


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


2020-11-24 08:09:14 | [Mutex] received everything.

2020-11-24 08:09:14 | [Mutex] isItemNotified: node_1hxhgr0203:subscribe_node:success :: true

2020-11-24 08:09:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:09:14 | command: <data><node>node_1hxhgr0203</node><expire-at>2020-11-24T16:09:19Z</expire-at><entry><content>content_m5rump0207</content></entry></data>

2020-11-24 08:09:14 | target: http://localhost:8088

2020-11-24 08:09:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-24 08:09:14 | entity: <data><node>node_1hxhgr0203</node><expire-at>2020-11-24T16:09:19Z</expire-at><entry><content>content_m5rump0207</content></entry></data>

2020-11-24 08:09:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:09:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:09:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e44f30ac-54b4-44bd-b886-ce9326854660</value></item-id></result>

2020-11-24 08:09:14 | contains: true

2020-11-24 08:09:23 | [Mutex] waiting for: [user_regular6ntnai0202@test-domain.com:message:received:content_m5rump0207]

2020-11-24 08:09:23 | [Mutex] waiting for: [user_regular6ntnai0202@test-domain.com:message:received:content_m5rump0207]

2020-11-24 08:09:23 | [Mutex] waiting for: [user_regular6ntnai0202@test-domain.com:message:received:content_m5rump0207]

2020-11-24 08:09:38 | [Mutex] timeout. Not received [user_regular6ntnai0202@test-domain.com:message:received:content_m5rump0207]

2020-11-24 08:09:38 | [Mutex] received everything.

2020-11-24 08:09:38 | [Mutex] isItemNotified: user_regular6ntnai0202@test-domain.com:message:received:content_m5rump0207 :: false

2020-11-24 08:09:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m5rump0207 :: true