Generated by TestNG with ReportNG at 21:47 PST on Tuesday 08 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 : 45.346s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.805s
2022-02-08 22:07:42 |

2022-02-08 22:07:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-08 22:07:42 | ------------------------------------

2022-02-08 22:07:42 | [Mutex] isItemNotified: node_7w26yo0203:exists :: false

2022-02-08 22:07:42 | [Mutex] waiting for: [node_7w26yo0203:create_node]

2022-02-08 22:07:42 | [Mutex] received everything.

2022-02-08 22:07:42 | [Mutex] isItemNotified: node_7w26yo0203:create_node:success :: true

2022-02-08 22:07:42 | [Mutex] waiting for: [node_7w26yo0203:subscribe_node]

2022-02-08 22:07:42 | [Mutex] waiting for: [node_7w26yo0203:subscribe_node]

2022-02-08 22:07:42 | [Mutex] received everything.

2022-02-08 22:07:42 | [Mutex] isItemNotified: node_7w26yo0203:subscribe_node:success :: true

2022-02-08 22:07:42 |


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


2022-02-08 22:07:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-08 22:07:42 | command: <data><node>node_7w26yo0203</node><entry><content>content_c5p0bp0204</content></entry></data>

2022-02-08 22:07:42 | target: http://localhost:8088

2022-02-08 22:07:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-08 22:07:42 | entity: <data><node>node_7w26yo0203</node><entry><content>content_c5p0bp0204</content></entry></data>

2022-02-08 22:07:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:07:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-08 22:07:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d89d4442-0540-4374-a89d-b810501f7851</value></item-id></result>

2022-02-08 22:07:42 | contains: true

2022-02-08 22:07:42 | [Mutex] received everything.

2022-02-08 22:07:42 | [Mutex] isItemNotified: user_regularordgm20202@test-domain.com:message:received:content_c5p0bp0204 :: true

2022-02-08 22:07:42 |


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


2022-02-08 22:07:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-08 22:07:42 | command: <data><node>node_7w26yo0203</node><expire-at>2022-02-09T06:07:37Z</expire-at><entry><content>content_mpmxg50205</content></entry></data>

2022-02-08 22:07:42 | target: http://localhost:8088

2022-02-08 22:07:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-08 22:07:42 | entity: <data><node>node_7w26yo0203</node><expire-at>2022-02-09T06:07:37Z</expire-at><entry><content>content_mpmxg50205</content></entry></data>

2022-02-08 22:07:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:07:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-08 22:07:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30141057-579e-43b2-b087-65805ea40ec6</value></item-id></result>

2022-02-08 22:07:42 | contains: true

2022-02-08 22:07:42 | [Mutex] waiting for: [user_regularordgm20202@test-domain.com:message:received:content_mpmxg50205]

2022-02-08 22:07:57 | [Mutex] timeout. Not received [user_regularordgm20202@test-domain.com:message:received:content_mpmxg50205]

2022-02-08 22:07:57 | [Mutex] isItemNotified: user_regularordgm20202@test-domain.com:message:received:content_mpmxg50205 :: false

2022-02-08 22:07:57 |


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


2022-02-08 22:07:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-08 22:07:57 | command: <data><node>node_7w26yo0203</node><entry><content>content_agit4s0206</content></entry></data>

2022-02-08 22:07:57 | target: http://localhost:8088

2022-02-08 22:07:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-08 22:07:57 | entity: <data><node>node_7w26yo0203</node><entry><content>content_agit4s0206</content></entry></data>

2022-02-08 22:07:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:07:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-08 22:07:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5ace2c55-9402-4199-859f-3ece372ce720</value></item-id></result>

2022-02-08 22:07:58 | contains: true

2022-02-08 22:08:03 | [Mutex] waiting for: [user_regularordgm20202@test-domain.com:message:received:content_agit4s0206]

2022-02-08 22:08:03 | [Mutex] waiting for: [user_regularordgm20202@test-domain.com:message:received:content_agit4s0206]

2022-02-08 22:08:03 | [Mutex] received everything.

2022-02-08 22:08:03 | [Mutex] isItemNotified: user_regularordgm20202@test-domain.com:message:received:content_agit4s0206 :: true

2022-02-08 22:08:03 |


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


2022-02-08 22:08:03 | [Mutex] received everything.

2022-02-08 22:08:03 | [Mutex] isItemNotified: node_7w26yo0203:subscribe_node:success :: true

2022-02-08 22:08:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-08 22:08:03 | command: <data><node>node_7w26yo0203</node><expire-at>2022-02-09T06:08:08Z</expire-at><entry><content>content_ngdt2v0207</content></entry></data>

2022-02-08 22:08:03 | target: http://localhost:8088

2022-02-08 22:08:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-08 22:08:03 | entity: <data><node>node_7w26yo0203</node><expire-at>2022-02-09T06:08:08Z</expire-at><entry><content>content_ngdt2v0207</content></entry></data>

2022-02-08 22:08:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:08:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-08 22:08:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b50b924-c53f-403a-a370-c9a87507012d</value></item-id></result>

2022-02-08 22:08:03 | contains: true

2022-02-08 22:08:11 | [Mutex] waiting for: [user_regularordgm20202@test-domain.com:message:received:content_ngdt2v0207]

2022-02-08 22:08:26 | [Mutex] timeout. Not received [user_regularordgm20202@test-domain.com:message:received:content_ngdt2v0207]

2022-02-08 22:08:26 | [Mutex] received everything.

2022-02-08 22:08:26 | [Mutex] isItemNotified: user_regularordgm20202@test-domain.com:message:received:content_ngdt2v0207 :: false

2022-02-08 22:08:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ngdt2v0207 :: true