Generated by TestNG with ReportNG at 21:18 PST on Monday 14 February 2022
root@f29ef40080b5 / 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 : 44.880s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.661s
2022-02-14 21:33:24 |

2022-02-14 21:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-14 21:33:24 | ------------------------------------

2022-02-14 21:33:24 | [Mutex] isItemNotified: node_tr6efx0203:exists :: false

2022-02-14 21:33:24 | [Mutex] waiting for: [node_tr6efx0203:create_node]

2022-02-14 21:33:24 | [Mutex] received everything.

2022-02-14 21:33:24 | [Mutex] isItemNotified: node_tr6efx0203:create_node:success :: true

2022-02-14 21:33:24 | [Mutex] waiting for: [node_tr6efx0203:subscribe_node]

2022-02-14 21:33:24 | [Mutex] received everything.

2022-02-14 21:33:24 | [Mutex] isItemNotified: node_tr6efx0203:subscribe_node:success :: true

2022-02-14 21:33:24 |


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


2022-02-14 21:33:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 21:33:24 | command: <data><node>node_tr6efx0203</node><entry><content>content_ctqb0k0204</content></entry></data>

2022-02-14 21:33:24 | target: http://localhost:8088

2022-02-14 21:33:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-14 21:33:24 | entity: <data><node>node_tr6efx0203</node><entry><content>content_ctqb0k0204</content></entry></data>

2022-02-14 21:33:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:33:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 21:33:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ee772072-ab45-4608-8ea5-9b2d8e4f7011</value></item-id></result>

2022-02-14 21:33:24 | contains: true

2022-02-14 21:33:24 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_ctqb0k0204]

2022-02-14 21:33:24 | [Mutex] received everything.

2022-02-14 21:33:24 | [Mutex] isItemNotified: user_regularoyod20202@test-domain.com:message:received:content_ctqb0k0204 :: true

2022-02-14 21:33:24 |


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


2022-02-14 21:33:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 21:33:24 | command: <data><node>node_tr6efx0203</node><expire-at>2022-02-15T05:33:19Z</expire-at><entry><content>content_2acp9e0205</content></entry></data>

2022-02-14 21:33:24 | target: http://localhost:8088

2022-02-14 21:33:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-14 21:33:24 | entity: <data><node>node_tr6efx0203</node><expire-at>2022-02-15T05:33:19Z</expire-at><entry><content>content_2acp9e0205</content></entry></data>

2022-02-14 21:33:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:33:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 21:33:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4096ce2d-b1c0-40be-86a0-3d0b43202e56</value></item-id></result>

2022-02-14 21:33:24 | contains: true

2022-02-14 21:33:24 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_2acp9e0205]

2022-02-14 21:33:39 | [Mutex] timeout. Not received [user_regularoyod20202@test-domain.com:message:received:content_2acp9e0205]

2022-02-14 21:33:39 | [Mutex] isItemNotified: user_regularoyod20202@test-domain.com:message:received:content_2acp9e0205 :: false

2022-02-14 21:33:39 |


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


2022-02-14 21:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 21:33:39 | command: <data><node>node_tr6efx0203</node><entry><content>content_3oyr030206</content></entry></data>

2022-02-14 21:33:39 | target: http://localhost:8088

2022-02-14 21:33:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-14 21:33:39 | entity: <data><node>node_tr6efx0203</node><entry><content>content_3oyr030206</content></entry></data>

2022-02-14 21:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 21:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5369877f-dd07-40ff-bfea-1b0abad1944f</value></item-id></result>

2022-02-14 21:33:39 | contains: true

2022-02-14 21:33:45 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_3oyr030206]

2022-02-14 21:33:45 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_3oyr030206]

2022-02-14 21:33:45 | [Mutex] received everything.

2022-02-14 21:33:45 | [Mutex] isItemNotified: user_regularoyod20202@test-domain.com:message:received:content_3oyr030206 :: true

2022-02-14 21:33:45 |


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


2022-02-14 21:33:45 | [Mutex] received everything.

2022-02-14 21:33:45 | [Mutex] isItemNotified: node_tr6efx0203:subscribe_node:success :: true

2022-02-14 21:33:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 21:33:45 | command: <data><node>node_tr6efx0203</node><expire-at>2022-02-15T05:33:50Z</expire-at><entry><content>content_p61hw0207</content></entry></data>

2022-02-14 21:33:45 | target: http://localhost:8088

2022-02-14 21:33:45 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-02-14 21:33:45 | entity: <data><node>node_tr6efx0203</node><expire-at>2022-02-15T05:33:50Z</expire-at><entry><content>content_p61hw0207</content></entry></data>

2022-02-14 21:33:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:33:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 21:33:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21cb3074-90ea-4d12-88e8-4dc8c1387653</value></item-id></result>

2022-02-14 21:33:45 | contains: true

2022-02-14 21:33:53 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_p61hw0207]

2022-02-14 21:33:53 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_p61hw0207]

2022-02-14 21:33:53 | [Mutex] waiting for: [user_regularoyod20202@test-domain.com:message:received:content_p61hw0207]

2022-02-14 21:34:08 | [Mutex] timeout. Not received [user_regularoyod20202@test-domain.com:message:received:content_p61hw0207]

2022-02-14 21:34:08 | [Mutex] received everything.

2022-02-14 21:34:08 | [Mutex] isItemNotified: user_regularoyod20202@test-domain.com:message:received:content_p61hw0207 :: false

2022-02-14 21:34:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p61hw0207 :: true