Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 2021
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.569s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.658s
2021-12-05 21:44:25 |

2021-12-05 21:44:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-05 21:44:25 | ------------------------------------

2021-12-05 21:44:25 | [Mutex] isItemNotified: node_gdynai0203:exists :: false

2021-12-05 21:44:25 | [Mutex] waiting for: [node_gdynai0203:create_node]

2021-12-05 21:44:25 | [Mutex] received everything.

2021-12-05 21:44:25 | [Mutex] isItemNotified: node_gdynai0203:create_node:success :: true

2021-12-05 21:44:25 | [Mutex] waiting for: [node_gdynai0203:subscribe_node]

2021-12-05 21:44:25 | [Mutex] waiting for: [node_gdynai0203:subscribe_node]

2021-12-05 21:44:25 | [Mutex] received everything.

2021-12-05 21:44:25 | [Mutex] isItemNotified: node_gdynai0203:subscribe_node:success :: true

2021-12-05 21:44:25 |


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


2021-12-05 21:44:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:25 | command: <data><node>node_gdynai0203</node><entry><content>content_p6x7zz0204</content></entry></data>

2021-12-05 21:44:25 | target: http://localhost:8088

2021-12-05 21:44:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:44:25 | entity: <data><node>node_gdynai0203</node><entry><content>content_p6x7zz0204</content></entry></data>

2021-12-05 21:44:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a515af2a-9e41-4cf6-a78d-766b363fd628</value></item-id></result>

2021-12-05 21:44:25 | contains: true

2021-12-05 21:44:25 | [Mutex] received everything.

2021-12-05 21:44:25 | [Mutex] isItemNotified: user_regularfmwrhg0202@test-domain.com:message:received:content_p6x7zz0204 :: true

2021-12-05 21:44:25 |


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


2021-12-05 21:44:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:25 | command: <data><node>node_gdynai0203</node><expire-at>2021-12-06T05:44:20Z</expire-at><entry><content>content_kru8ak0205</content></entry></data>

2021-12-05 21:44:25 | target: http://localhost:8088

2021-12-05 21:44:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 21:44:25 | entity: <data><node>node_gdynai0203</node><expire-at>2021-12-06T05:44:20Z</expire-at><entry><content>content_kru8ak0205</content></entry></data>

2021-12-05 21:44:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5364e5d-ca70-4f55-baf5-4cd1b7135323</value></item-id></result>

2021-12-05 21:44:26 | contains: true

2021-12-05 21:44:26 | [Mutex] waiting for: [user_regularfmwrhg0202@test-domain.com:message:received:content_kru8ak0205]

2021-12-05 21:44:41 | [Mutex] timeout. Not received [user_regularfmwrhg0202@test-domain.com:message:received:content_kru8ak0205]

2021-12-05 21:44:41 | [Mutex] isItemNotified: user_regularfmwrhg0202@test-domain.com:message:received:content_kru8ak0205 :: false

2021-12-05 21:44:41 |


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


2021-12-05 21:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:41 | command: <data><node>node_gdynai0203</node><entry><content>content_dkupod0206</content></entry></data>

2021-12-05 21:44:41 | target: http://localhost:8088

2021-12-05 21:44:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:44:41 | entity: <data><node>node_gdynai0203</node><entry><content>content_dkupod0206</content></entry></data>

2021-12-05 21:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b7538933-7333-4a51-9521-71506276062e</value></item-id></result>

2021-12-05 21:44:41 | contains: true

2021-12-05 21:44:46 | [Mutex] waiting for: [user_regularfmwrhg0202@test-domain.com:message:received:content_dkupod0206]

2021-12-05 21:44:46 | [Mutex] received everything.

2021-12-05 21:44:46 | [Mutex] isItemNotified: user_regularfmwrhg0202@test-domain.com:message:received:content_dkupod0206 :: true

2021-12-05 21:44:46 |


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


2021-12-05 21:44:46 | [Mutex] received everything.

2021-12-05 21:44:46 | [Mutex] isItemNotified: node_gdynai0203:subscribe_node:success :: true

2021-12-05 21:44:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:46 | command: <data><node>node_gdynai0203</node><expire-at>2021-12-06T05:44:51Z</expire-at><entry><content>content_9mxx9i0207</content></entry></data>

2021-12-05 21:44:46 | target: http://localhost:8088

2021-12-05 21:44:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 21:44:46 | entity: <data><node>node_gdynai0203</node><expire-at>2021-12-06T05:44:51Z</expire-at><entry><content>content_9mxx9i0207</content></entry></data>

2021-12-05 21:44:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12d3b8c3-d37d-4f64-aa4b-04e59753616e</value></item-id></result>

2021-12-05 21:44:46 | contains: true

2021-12-05 21:44:54 | [Mutex] waiting for: [user_regularfmwrhg0202@test-domain.com:message:received:content_9mxx9i0207]

2021-12-05 21:45:09 | [Mutex] timeout. Not received [user_regularfmwrhg0202@test-domain.com:message:received:content_9mxx9i0207]

2021-12-05 21:45:09 | [Mutex] received everything.

2021-12-05 21:45:09 | [Mutex] isItemNotified: user_regularfmwrhg0202@test-domain.com:message:received:content_9mxx9i0207 :: false

2021-12-05 21:45:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9mxx9i0207 :: true