Generated by TestNG with ReportNG at 18:07 PDT on Tuesday 01 September 2020
root@45eef7750236 / 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.653s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.757s
2020-09-01 18:25:16 |

2020-09-01 18:25:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-01 18:25:16 | ------------------------------------

2020-09-01 18:25:16 | [Mutex] isItemNotified: node_hxu1s30203:exists :: false

2020-09-01 18:25:16 | [Mutex] waiting for: [node_hxu1s30203:create_node]

2020-09-01 18:25:16 | [Mutex] received everything.

2020-09-01 18:25:16 | [Mutex] isItemNotified: node_hxu1s30203:create_node:success :: true

2020-09-01 18:25:16 | [Mutex] waiting for: [node_hxu1s30203:subscribe_node]

2020-09-01 18:25:16 | [Mutex] received everything.

2020-09-01 18:25:16 | [Mutex] isItemNotified: node_hxu1s30203:subscribe_node:success :: true

2020-09-01 18:25:16 |


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


2020-09-01 18:25:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:25:16 | command: <data><node>node_hxu1s30203</node><entry><content>content_gt6uj60204</content></entry></data>

2020-09-01 18:25:16 | target: http://localhost:8088

2020-09-01 18:25:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 18:25:16 | entity: <data><node>node_hxu1s30203</node><entry><content>content_gt6uj60204</content></entry></data>

2020-09-01 18:25:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:25:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:25:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>45f2b1eb-ff69-40a2-b8a9-e77e55417ba1</value></item-id></result>

2020-09-01 18:25:16 | contains: true

2020-09-01 18:25:16 | [Mutex] waiting for: [user_regular8zjws70202@test-domain.com:message:received:content_gt6uj60204]

2020-09-01 18:25:16 | [Mutex] received everything.

2020-09-01 18:25:16 | [Mutex] isItemNotified: user_regular8zjws70202@test-domain.com:message:received:content_gt6uj60204 :: true

2020-09-01 18:25:16 |


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


2020-09-01 18:25:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:25:16 | command: <data><node>node_hxu1s30203</node><expire-at>2020-09-02T01:25:11Z</expire-at><entry><content>content_r5tohy0205</content></entry></data>

2020-09-01 18:25:16 | target: http://localhost:8088

2020-09-01 18:25:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 18:25:16 | entity: <data><node>node_hxu1s30203</node><expire-at>2020-09-02T01:25:11Z</expire-at><entry><content>content_r5tohy0205</content></entry></data>

2020-09-01 18:25:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:25:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:25:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65724659-d87c-4834-a3b6-ac8e857d70a4</value></item-id></result>

2020-09-01 18:25:16 | contains: true

2020-09-01 18:25:16 | [Mutex] waiting for: [user_regular8zjws70202@test-domain.com:message:received:content_r5tohy0205]

2020-09-01 18:25:31 | [Mutex] timeout. Not received [user_regular8zjws70202@test-domain.com:message:received:content_r5tohy0205]

2020-09-01 18:25:31 | [Mutex] isItemNotified: user_regular8zjws70202@test-domain.com:message:received:content_r5tohy0205 :: false

2020-09-01 18:25:31 |


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


2020-09-01 18:25:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:25:31 | command: <data><node>node_hxu1s30203</node><entry><content>content_uy5th20206</content></entry></data>

2020-09-01 18:25:31 | target: http://localhost:8088

2020-09-01 18:25:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 18:25:31 | entity: <data><node>node_hxu1s30203</node><entry><content>content_uy5th20206</content></entry></data>

2020-09-01 18:25:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:25:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:25:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>40541c66-7921-4eec-b378-90167313c795</value></item-id></result>

2020-09-01 18:25:31 | contains: true

2020-09-01 18:25:37 | [Mutex] received everything.

2020-09-01 18:25:37 | [Mutex] isItemNotified: user_regular8zjws70202@test-domain.com:message:received:content_uy5th20206 :: true

2020-09-01 18:25:37 |


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


2020-09-01 18:25:37 | [Mutex] received everything.

2020-09-01 18:25:37 | [Mutex] isItemNotified: node_hxu1s30203:subscribe_node:success :: true

2020-09-01 18:25:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:25:37 | command: <data><node>node_hxu1s30203</node><expire-at>2020-09-02T01:25:42Z</expire-at><entry><content>content_k5nbal0207</content></entry></data>

2020-09-01 18:25:37 | target: http://localhost:8088

2020-09-01 18:25:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 18:25:37 | entity: <data><node>node_hxu1s30203</node><expire-at>2020-09-02T01:25:42Z</expire-at><entry><content>content_k5nbal0207</content></entry></data>

2020-09-01 18:25:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:25:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:25:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c22448fb-0185-4109-bc07-87aaefd32919</value></item-id></result>

2020-09-01 18:25:37 | contains: true

2020-09-01 18:25:45 | [Mutex] waiting for: [user_regular8zjws70202@test-domain.com:message:received:content_k5nbal0207]

2020-09-01 18:25:45 | [Mutex] waiting for: [user_regular8zjws70202@test-domain.com:message:received:content_k5nbal0207]

2020-09-01 18:26:00 | [Mutex] timeout. Not received [user_regular8zjws70202@test-domain.com:message:received:content_k5nbal0207]

2020-09-01 18:26:00 | [Mutex] received everything.

2020-09-01 18:26:00 | [Mutex] isItemNotified: user_regular8zjws70202@test-domain.com:message:received:content_k5nbal0207 :: false

2020-09-01 18:26:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k5nbal0207 :: true