Generated by TestNG with ReportNG at 08:07 PST on Friday 25 February 2022
root@785cf647a4ab / 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.373s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.603s
2022-02-25 08:21:50 |

2022-02-25 08:21:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-25 08:21:50 | ------------------------------------

2022-02-25 08:21:50 | [Mutex] isItemNotified: node_mphn950203:exists :: false

2022-02-25 08:21:50 | [Mutex] waiting for: [node_mphn950203:create_node]

2022-02-25 08:21:50 | [Mutex] received everything.

2022-02-25 08:21:50 | [Mutex] isItemNotified: node_mphn950203:create_node:success :: true

2022-02-25 08:21:50 | [Mutex] waiting for: [node_mphn950203:subscribe_node]

2022-02-25 08:21:50 | [Mutex] waiting for: [node_mphn950203:subscribe_node]

2022-02-25 08:21:50 | [Mutex] received everything.

2022-02-25 08:21:50 | [Mutex] isItemNotified: node_mphn950203:subscribe_node:success :: true

2022-02-25 08:21:50 |


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


2022-02-25 08:21:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 08:21:50 | command: <data><node>node_mphn950203</node><entry><content>content_doomp0204</content></entry></data>

2022-02-25 08:21:50 | target: http://localhost:8088

2022-02-25 08:21:50 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-25 08:21:50 | entity: <data><node>node_mphn950203</node><entry><content>content_doomp0204</content></entry></data>

2022-02-25 08:21:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Feb 2022 16:21:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 08:21:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9446184-d349-418e-ba2c-3e297c4dfcee</value></item-id></result>

2022-02-25 08:21:50 | contains: true

2022-02-25 08:21:50 | [Mutex] received everything.

2022-02-25 08:21:50 | [Mutex] isItemNotified: user_regular9etofu0202@test-domain.com:message:received:content_doomp0204 :: true

2022-02-25 08:21:50 |


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


2022-02-25 08:21:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 08:21:50 | command: <data><node>node_mphn950203</node><expire-at>2022-02-25T16:21:45Z</expire-at><entry><content>content_dse1xj0205</content></entry></data>

2022-02-25 08:21:50 | target: http://localhost:8088

2022-02-25 08:21:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-25 08:21:50 | entity: <data><node>node_mphn950203</node><expire-at>2022-02-25T16:21:45Z</expire-at><entry><content>content_dse1xj0205</content></entry></data>

2022-02-25 08:21:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Feb 2022 16:21:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 08:21:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74f58b01-a7ef-4425-86de-e375b2c4e589</value></item-id></result>

2022-02-25 08:21:50 | contains: true

2022-02-25 08:21:50 | [Mutex] waiting for: [user_regular9etofu0202@test-domain.com:message:received:content_dse1xj0205]

2022-02-25 08:22:05 | [Mutex] timeout. Not received [user_regular9etofu0202@test-domain.com:message:received:content_dse1xj0205]

2022-02-25 08:22:05 | [Mutex] isItemNotified: user_regular9etofu0202@test-domain.com:message:received:content_dse1xj0205 :: false

2022-02-25 08:22:05 |


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


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

2022-02-25 08:22:05 | command: <data><node>node_mphn950203</node><entry><content>content_ezngr40206</content></entry></data>

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

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

2022-02-25 08:22:05 | entity: <data><node>node_mphn950203</node><entry><content>content_ezngr40206</content></entry></data>

2022-02-25 08:22:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Feb 2022 16:22:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 08:22:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2745f5eb-37f2-483c-942a-dd706d71f18c</value></item-id></result>

2022-02-25 08:22:05 | contains: true

2022-02-25 08:22:10 | [Mutex] waiting for: [user_regular9etofu0202@test-domain.com:message:received:content_ezngr40206]

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

2022-02-25 08:22:10 | [Mutex] isItemNotified: user_regular9etofu0202@test-domain.com:message:received:content_ezngr40206 :: true

2022-02-25 08:22:10 |


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


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

2022-02-25 08:22:10 | [Mutex] isItemNotified: node_mphn950203:subscribe_node:success :: true

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

2022-02-25 08:22:10 | command: <data><node>node_mphn950203</node><expire-at>2022-02-25T16:22:15Z</expire-at><entry><content>content_irymu80207</content></entry></data>

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

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

2022-02-25 08:22:10 | entity: <data><node>node_mphn950203</node><expire-at>2022-02-25T16:22:15Z</expire-at><entry><content>content_irymu80207</content></entry></data>

2022-02-25 08:22:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Feb 2022 16:22:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 08:22:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e930259f-77a4-45cc-99e6-f6623eabd9b4</value></item-id></result>

2022-02-25 08:22:10 | contains: true

2022-02-25 08:22:18 | [Mutex] waiting for: [user_regular9etofu0202@test-domain.com:message:received:content_irymu80207]

2022-02-25 08:22:33 | [Mutex] timeout. Not received [user_regular9etofu0202@test-domain.com:message:received:content_irymu80207]

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

2022-02-25 08:22:33 | [Mutex] isItemNotified: user_regular9etofu0202@test-domain.com:message:received:content_irymu80207 :: false

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