Generated by TestNG with ReportNG at 22:50 PDT on Wednesday 27 April 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.049s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.637s
2022-04-27 23:06:09 |

2022-04-27 23:06:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-27 23:06:09 | ------------------------------------

2022-04-27 23:06:09 | [Mutex] isItemNotified: node_u5kg0u0204:exists :: false

2022-04-27 23:06:09 | [Mutex] waiting for: [node_u5kg0u0204:create_node]

2022-04-27 23:06:09 | [Mutex] received everything.

2022-04-27 23:06:09 | [Mutex] isItemNotified: node_u5kg0u0204:create_node:success :: true

2022-04-27 23:06:09 | [Mutex] waiting for: [node_u5kg0u0204:subscribe_node]

2022-04-27 23:06:09 | [Mutex] waiting for: [node_u5kg0u0204:subscribe_node]

2022-04-27 23:06:09 | [Mutex] received everything.

2022-04-27 23:06:09 | [Mutex] isItemNotified: node_u5kg0u0204:subscribe_node:success :: true

2022-04-27 23:06:09 |


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


2022-04-27 23:06:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 23:06:09 | command: <data><node>node_u5kg0u0204</node><entry><content>content_jsk4a80205</content></entry></data>

2022-04-27 23:06:09 | target: http://localhost:8088

2022-04-27 23:06:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-27 23:06:09 | entity: <data><node>node_u5kg0u0204</node><entry><content>content_jsk4a80205</content></entry></data>

2022-04-27 23:06:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:06:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 23:06:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d50307db-f416-43ab-ae63-f50efb2d4bcc</value></item-id></result>

2022-04-27 23:06:09 | contains: true

2022-04-27 23:06:09 | [Mutex] received everything.

2022-04-27 23:06:09 | [Mutex] isItemNotified: user_regularxgly0p0203@test-domain.com:message:received:content_jsk4a80205 :: true

2022-04-27 23:06:09 |


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


2022-04-27 23:06:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 23:06:09 | command: <data><node>node_u5kg0u0204</node><expire-at>2022-04-28T06:06:04Z</expire-at><entry><content>content_q5lg9f0206</content></entry></data>

2022-04-27 23:06:09 | target: http://localhost:8088

2022-04-27 23:06:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 23:06:09 | entity: <data><node>node_u5kg0u0204</node><expire-at>2022-04-28T06:06:04Z</expire-at><entry><content>content_q5lg9f0206</content></entry></data>

2022-04-27 23:06:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:06:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 23:06:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92f7a708-db53-4838-9fe4-de142c170f5d</value></item-id></result>

2022-04-27 23:06:09 | contains: true

2022-04-27 23:06:09 | [Mutex] waiting for: [user_regularxgly0p0203@test-domain.com:message:received:content_q5lg9f0206]

2022-04-27 23:06:24 | [Mutex] timeout. Not received [user_regularxgly0p0203@test-domain.com:message:received:content_q5lg9f0206]

2022-04-27 23:06:24 | [Mutex] isItemNotified: user_regularxgly0p0203@test-domain.com:message:received:content_q5lg9f0206 :: false

2022-04-27 23:06:24 |


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


2022-04-27 23:06:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 23:06:24 | command: <data><node>node_u5kg0u0204</node><entry><content>content_5jw6oj0207</content></entry></data>

2022-04-27 23:06:24 | target: http://localhost:8088

2022-04-27 23:06:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-27 23:06:24 | entity: <data><node>node_u5kg0u0204</node><entry><content>content_5jw6oj0207</content></entry></data>

2022-04-27 23:06:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:06:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 23:06:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>72dd2b7a-d0aa-419d-9b9e-fab8805d1b48</value></item-id></result>

2022-04-27 23:06:24 | contains: true

2022-04-27 23:06:29 | [Mutex] waiting for: [user_regularxgly0p0203@test-domain.com:message:received:content_5jw6oj0207]

2022-04-27 23:06:29 | [Mutex] received everything.

2022-04-27 23:06:29 | [Mutex] isItemNotified: user_regularxgly0p0203@test-domain.com:message:received:content_5jw6oj0207 :: true

2022-04-27 23:06:29 |


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


2022-04-27 23:06:29 | [Mutex] received everything.

2022-04-27 23:06:29 | [Mutex] isItemNotified: node_u5kg0u0204:subscribe_node:success :: true

2022-04-27 23:06:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 23:06:29 | command: <data><node>node_u5kg0u0204</node><expire-at>2022-04-28T06:06:34Z</expire-at><entry><content>content_2rsbzk0208</content></entry></data>

2022-04-27 23:06:29 | target: http://localhost:8088

2022-04-27 23:06:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 23:06:29 | entity: <data><node>node_u5kg0u0204</node><expire-at>2022-04-28T06:06:34Z</expire-at><entry><content>content_2rsbzk0208</content></entry></data>

2022-04-27 23:06:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:06:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 23:06:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ace8e224-2a90-4951-b7db-6e7b9f0359a9</value></item-id></result>

2022-04-27 23:06:29 | contains: true

2022-04-27 23:06:38 | [Mutex] waiting for: [user_regularxgly0p0203@test-domain.com:message:received:content_2rsbzk0208]

2022-04-27 23:06:38 | [Mutex] waiting for: [user_regularxgly0p0203@test-domain.com:message:received:content_2rsbzk0208]

2022-04-27 23:06:53 | [Mutex] timeout. Not received [user_regularxgly0p0203@test-domain.com:message:received:content_2rsbzk0208]

2022-04-27 23:06:53 | [Mutex] received everything.

2022-04-27 23:06:53 | [Mutex] isItemNotified: user_regularxgly0p0203@test-domain.com:message:received:content_2rsbzk0208 :: false

2022-04-27 23:06:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2rsbzk0208 :: true