Generated by TestNG with ReportNG at 21:32 PST on Monday 30 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.499s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.732s
2020-11-30 21:48:46 |

2020-11-30 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-30 21:48:46 | ------------------------------------

2020-11-30 21:48:46 | [Mutex] isItemNotified: node_y7bddz0203:exists :: false

2020-11-30 21:48:46 | [Mutex] waiting for: [node_y7bddz0203:create_node]

2020-11-30 21:48:46 | [Mutex] received everything.

2020-11-30 21:48:46 | [Mutex] isItemNotified: node_y7bddz0203:create_node:success :: true

2020-11-30 21:48:46 | [Mutex] waiting for: [node_y7bddz0203:subscribe_node]

2020-11-30 21:48:46 | [Mutex] waiting for: [node_y7bddz0203:subscribe_node]

2020-11-30 21:48:46 | [Mutex] received everything.

2020-11-30 21:48:46 | [Mutex] isItemNotified: node_y7bddz0203:subscribe_node:success :: true

2020-11-30 21:48:46 |


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


2020-11-30 21:48:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:48:46 | command: <data><node>node_y7bddz0203</node><entry><content>content_7kem2f0204</content></entry></data>

2020-11-30 21:48:46 | target: http://localhost:8088

2020-11-30 21:48:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 21:48:46 | entity: <data><node>node_y7bddz0203</node><entry><content>content_7kem2f0204</content></entry></data>

2020-11-30 21:48:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:48:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:48:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>59e83f63-50bf-47dd-9548-43b05f3f0f37</value></item-id></result>

2020-11-30 21:48:46 | contains: true

2020-11-30 21:48:46 | [Mutex] received everything.

2020-11-30 21:48:46 | [Mutex] isItemNotified: user_regularimjs310202@test-domain.com:message:received:content_7kem2f0204 :: true

2020-11-30 21:48:46 |


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


2020-11-30 21:48:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:48:46 | command: <data><node>node_y7bddz0203</node><expire-at>2020-12-01T05:48:41Z</expire-at><entry><content>content_3wvpyw0205</content></entry></data>

2020-11-30 21:48:46 | target: http://localhost:8088

2020-11-30 21:48:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 21:48:46 | entity: <data><node>node_y7bddz0203</node><expire-at>2020-12-01T05:48:41Z</expire-at><entry><content>content_3wvpyw0205</content></entry></data>

2020-11-30 21:48:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:48:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:48:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71db16c0-93dc-4d6a-a507-44d67efe2b67</value></item-id></result>

2020-11-30 21:48:46 | contains: true

2020-11-30 21:48:46 | [Mutex] waiting for: [user_regularimjs310202@test-domain.com:message:received:content_3wvpyw0205]

2020-11-30 21:49:01 | [Mutex] timeout. Not received [user_regularimjs310202@test-domain.com:message:received:content_3wvpyw0205]

2020-11-30 21:49:01 | [Mutex] isItemNotified: user_regularimjs310202@test-domain.com:message:received:content_3wvpyw0205 :: false

2020-11-30 21:49:01 |


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


2020-11-30 21:49:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:49:01 | command: <data><node>node_y7bddz0203</node><entry><content>content_63f76i0206</content></entry></data>

2020-11-30 21:49:01 | target: http://localhost:8088

2020-11-30 21:49:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 21:49:01 | entity: <data><node>node_y7bddz0203</node><entry><content>content_63f76i0206</content></entry></data>

2020-11-30 21:49:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:49:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:49:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd416357-6ff9-4d86-9b9a-05a494e7b877</value></item-id></result>

2020-11-30 21:49:01 | contains: true

2020-11-30 21:49:07 | [Mutex] waiting for: [user_regularimjs310202@test-domain.com:message:received:content_63f76i0206]

2020-11-30 21:49:07 | [Mutex] received everything.

2020-11-30 21:49:07 | [Mutex] isItemNotified: user_regularimjs310202@test-domain.com:message:received:content_63f76i0206 :: true

2020-11-30 21:49:07 |


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


2020-11-30 21:49:07 | [Mutex] received everything.

2020-11-30 21:49:07 | [Mutex] isItemNotified: node_y7bddz0203:subscribe_node:success :: true

2020-11-30 21:49:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:49:07 | command: <data><node>node_y7bddz0203</node><expire-at>2020-12-01T05:49:12Z</expire-at><entry><content>content_2p65xv0207</content></entry></data>

2020-11-30 21:49:07 | target: http://localhost:8088

2020-11-30 21:49:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 21:49:07 | entity: <data><node>node_y7bddz0203</node><expire-at>2020-12-01T05:49:12Z</expire-at><entry><content>content_2p65xv0207</content></entry></data>

2020-11-30 21:49:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:49:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:49:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f7ee028-9af4-41ea-94d9-e59822f042af</value></item-id></result>

2020-11-30 21:49:07 | contains: true

2020-11-30 21:49:15 | [Mutex] waiting for: [user_regularimjs310202@test-domain.com:message:received:content_2p65xv0207]

2020-11-30 21:49:30 | [Mutex] timeout. Not received [user_regularimjs310202@test-domain.com:message:received:content_2p65xv0207]

2020-11-30 21:49:30 | [Mutex] received everything.

2020-11-30 21:49:30 | [Mutex] isItemNotified: user_regularimjs310202@test-domain.com:message:received:content_2p65xv0207 :: false

2020-11-30 21:49:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2p65xv0207 :: true