Generated by TestNG with ReportNG at 08:04 PST on Tuesday 24 November 2020
root@eaa73862192b / 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.833s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.689s
2020-11-24 08:23:38 |

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

2020-11-24 08:23:38 | ------------------------------------

2020-11-24 08:23:38 | [Mutex] isItemNotified: node_83fqiw0203:exists :: false

2020-11-24 08:23:38 | [Mutex] waiting for: [node_83fqiw0203:create_node]

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

2020-11-24 08:23:38 | [Mutex] isItemNotified: node_83fqiw0203:create_node:success :: true

2020-11-24 08:23:38 | [Mutex] waiting for: [node_83fqiw0203:subscribe_node]

2020-11-24 08:23:38 | [Mutex] waiting for: [node_83fqiw0203:subscribe_node]

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

2020-11-24 08:23:38 | [Mutex] isItemNotified: node_83fqiw0203:subscribe_node:success :: true

2020-11-24 08:23:38 |


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


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

2020-11-24 08:23:38 | command: <data><node>node_83fqiw0203</node><entry><content>content_rpvbv0204</content></entry></data>

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

2020-11-24 08:23:38 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-11-24 08:23:38 | entity: <data><node>node_83fqiw0203</node><entry><content>content_rpvbv0204</content></entry></data>

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

2020-11-24 08:23:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>15427fac-7a3c-4e36-96db-8dd57159fb24</value></item-id></result>

2020-11-24 08:23:38 | contains: true

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

2020-11-24 08:23:38 | [Mutex] isItemNotified: user_regularjuo6pv0202@test-domain.com:message:received:content_rpvbv0204 :: true

2020-11-24 08:23:38 |


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


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

2020-11-24 08:23:38 | command: <data><node>node_83fqiw0203</node><expire-at>2020-11-24T16:23:33Z</expire-at><entry><content>content_a8cooz0205</content></entry></data>

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

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

2020-11-24 08:23:38 | entity: <data><node>node_83fqiw0203</node><expire-at>2020-11-24T16:23:33Z</expire-at><entry><content>content_a8cooz0205</content></entry></data>

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

2020-11-24 08:23:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>866313b1-ca99-4584-aa4a-7bb34c51d5a6</value></item-id></result>

2020-11-24 08:23:38 | contains: true

2020-11-24 08:23:38 | [Mutex] waiting for: [user_regularjuo6pv0202@test-domain.com:message:received:content_a8cooz0205]

2020-11-24 08:23:53 | [Mutex] timeout. Not received [user_regularjuo6pv0202@test-domain.com:message:received:content_a8cooz0205]

2020-11-24 08:23:53 | [Mutex] isItemNotified: user_regularjuo6pv0202@test-domain.com:message:received:content_a8cooz0205 :: false

2020-11-24 08:23:53 |


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


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

2020-11-24 08:23:53 | command: <data><node>node_83fqiw0203</node><entry><content>content_1sk0sr0206</content></entry></data>

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

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

2020-11-24 08:23:53 | entity: <data><node>node_83fqiw0203</node><entry><content>content_1sk0sr0206</content></entry></data>

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

2020-11-24 08:23:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>50264c07-c82a-45e3-b2be-3b88d811ff82</value></item-id></result>

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

2020-11-24 08:23:59 | [Mutex] waiting for: [user_regularjuo6pv0202@test-domain.com:message:received:content_1sk0sr0206]

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

2020-11-24 08:23:59 | [Mutex] isItemNotified: user_regularjuo6pv0202@test-domain.com:message:received:content_1sk0sr0206 :: true

2020-11-24 08:23:59 |


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


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

2020-11-24 08:23:59 | [Mutex] isItemNotified: node_83fqiw0203:subscribe_node:success :: true

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

2020-11-24 08:23:59 | command: <data><node>node_83fqiw0203</node><expire-at>2020-11-24T16:24:04Z</expire-at><entry><content>content_46wten0207</content></entry></data>

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

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

2020-11-24 08:23:59 | entity: <data><node>node_83fqiw0203</node><expire-at>2020-11-24T16:24:04Z</expire-at><entry><content>content_46wten0207</content></entry></data>

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

2020-11-24 08:23:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17bb63cb-4da9-4eb6-99f8-d16f53c55f0e</value></item-id></result>

2020-11-24 08:23:59 | contains: true

2020-11-24 08:24:07 | [Mutex] waiting for: [user_regularjuo6pv0202@test-domain.com:message:received:content_46wten0207]

2020-11-24 08:24:07 | [Mutex] waiting for: [user_regularjuo6pv0202@test-domain.com:message:received:content_46wten0207]

2020-11-24 08:24:22 | [Mutex] timeout. Not received [user_regularjuo6pv0202@test-domain.com:message:received:content_46wten0207]

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

2020-11-24 08:24:22 | [Mutex] isItemNotified: user_regularjuo6pv0202@test-domain.com:message:received:content_46wten0207 :: false

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