Generated by TestNG with ReportNG at 22:44 PDT on Monday 13 September 2021
root@b2c2a8eba6e6 / 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.579s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.648s
2021-09-13 23:01:35 |

2021-09-13 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-13 23:01:35 | ------------------------------------

2021-09-13 23:01:35 | [Mutex] isItemNotified: node_rgp8210203:exists :: false

2021-09-13 23:01:35 | [Mutex] waiting for: [node_rgp8210203:create_node]

2021-09-13 23:01:35 | [Mutex] received everything.

2021-09-13 23:01:35 | [Mutex] isItemNotified: node_rgp8210203:create_node:success :: true

2021-09-13 23:01:35 | [Mutex] waiting for: [node_rgp8210203:subscribe_node]

2021-09-13 23:01:35 | [Mutex] received everything.

2021-09-13 23:01:35 | [Mutex] isItemNotified: node_rgp8210203:subscribe_node:success :: true

2021-09-13 23:01:35 |


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


2021-09-13 23:01:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 23:01:35 | command: <data><node>node_rgp8210203</node><entry><content>content_lgqz30204</content></entry></data>

2021-09-13 23:01:35 | target: http://localhost:8088

2021-09-13 23:01:35 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-09-13 23:01:35 | entity: <data><node>node_rgp8210203</node><entry><content>content_lgqz30204</content></entry></data>

2021-09-13 23:01:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:01:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 23:01:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2d9ab7c5-1127-4cfb-a4ff-da68c3f1d4c9</value></item-id></result>

2021-09-13 23:01:35 | contains: true

2021-09-13 23:01:35 | [Mutex] waiting for: [user_regularwak4830202@test-domain.com:message:received:content_lgqz30204]

2021-09-13 23:01:35 | [Mutex] received everything.

2021-09-13 23:01:35 | [Mutex] isItemNotified: user_regularwak4830202@test-domain.com:message:received:content_lgqz30204 :: true

2021-09-13 23:01:35 |


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


2021-09-13 23:01:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 23:01:35 | command: <data><node>node_rgp8210203</node><expire-at>2021-09-14T06:01:30Z</expire-at><entry><content>content_z9sf5f0205</content></entry></data>

2021-09-13 23:01:35 | target: http://localhost:8088

2021-09-13 23:01:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-13 23:01:35 | entity: <data><node>node_rgp8210203</node><expire-at>2021-09-14T06:01:30Z</expire-at><entry><content>content_z9sf5f0205</content></entry></data>

2021-09-13 23:01:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:01:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 23:01:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>261559e7-a7b7-4f01-bf10-4cbd2bc54483</value></item-id></result>

2021-09-13 23:01:35 | contains: true

2021-09-13 23:01:35 | [Mutex] waiting for: [user_regularwak4830202@test-domain.com:message:received:content_z9sf5f0205]

2021-09-13 23:01:50 | [Mutex] timeout. Not received [user_regularwak4830202@test-domain.com:message:received:content_z9sf5f0205]

2021-09-13 23:01:50 | [Mutex] isItemNotified: user_regularwak4830202@test-domain.com:message:received:content_z9sf5f0205 :: false

2021-09-13 23:01:50 |


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


2021-09-13 23:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 23:01:50 | command: <data><node>node_rgp8210203</node><entry><content>content_9xclo90206</content></entry></data>

2021-09-13 23:01:50 | target: http://localhost:8088

2021-09-13 23:01:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-13 23:01:50 | entity: <data><node>node_rgp8210203</node><entry><content>content_9xclo90206</content></entry></data>

2021-09-13 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eb528f3c-ad8b-4995-9f4a-4fb5e25260dc</value></item-id></result>

2021-09-13 23:01:50 | contains: true

2021-09-13 23:01:56 | [Mutex] waiting for: [user_regularwak4830202@test-domain.com:message:received:content_9xclo90206]

2021-09-13 23:01:56 | [Mutex] received everything.

2021-09-13 23:01:56 | [Mutex] isItemNotified: user_regularwak4830202@test-domain.com:message:received:content_9xclo90206 :: true

2021-09-13 23:01:56 |


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


2021-09-13 23:01:56 | [Mutex] received everything.

2021-09-13 23:01:56 | [Mutex] isItemNotified: node_rgp8210203:subscribe_node:success :: true

2021-09-13 23:01:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 23:01:56 | command: <data><node>node_rgp8210203</node><expire-at>2021-09-14T06:02:01Z</expire-at><entry><content>content_9hwje80207</content></entry></data>

2021-09-13 23:01:56 | target: http://localhost:8088

2021-09-13 23:01:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-13 23:01:56 | entity: <data><node>node_rgp8210203</node><expire-at>2021-09-14T06:02:01Z</expire-at><entry><content>content_9hwje80207</content></entry></data>

2021-09-13 23:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 23:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>02ca4423-8436-4526-958f-067ab993b7c5</value></item-id></result>

2021-09-13 23:01:56 | contains: true

2021-09-13 23:02:04 | [Mutex] waiting for: [user_regularwak4830202@test-domain.com:message:received:content_9hwje80207]

2021-09-13 23:02:19 | [Mutex] timeout. Not received [user_regularwak4830202@test-domain.com:message:received:content_9hwje80207]

2021-09-13 23:02:19 | [Mutex] received everything.

2021-09-13 23:02:19 | [Mutex] isItemNotified: user_regularwak4830202@test-domain.com:message:received:content_9hwje80207 :: false

2021-09-13 23:02:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9hwje80207 :: true