Generated by TestNG with ReportNG at 21:30 PST on Tuesday 01 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.616s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2022-02-01 21:45:59 |

2022-02-01 21:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-01 21:45:59 | ------------------------------------

2022-02-01 21:45:59 | [Mutex] isItemNotified: node_ed05lc0203:exists :: false

2022-02-01 21:45:59 | [Mutex] waiting for: [node_ed05lc0203:create_node]

2022-02-01 21:45:59 | [Mutex] received everything.

2022-02-01 21:45:59 | [Mutex] isItemNotified: node_ed05lc0203:create_node:success :: true

2022-02-01 21:45:59 | [Mutex] waiting for: [node_ed05lc0203:subscribe_node]

2022-02-01 21:45:59 | [Mutex] waiting for: [node_ed05lc0203:subscribe_node]

2022-02-01 21:45:59 | [Mutex] received everything.

2022-02-01 21:45:59 | [Mutex] isItemNotified: node_ed05lc0203:subscribe_node:success :: true

2022-02-01 21:45:59 |


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


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

2022-02-01 21:45:59 | command: <data><node>node_ed05lc0203</node><entry><content>content_ugqllv0204</content></entry></data>

2022-02-01 21:45:59 | target: http://localhost:8088

2022-02-01 21:45:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-01 21:45:59 | entity: <data><node>node_ed05lc0203</node><entry><content>content_ugqllv0204</content></entry></data>

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

2022-02-01 21:45:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe419050-cb0d-49cd-afa4-3efa5f913c5e</value></item-id></result>

2022-02-01 21:45:59 | contains: true

2022-02-01 21:45:59 | [Mutex] received everything.

2022-02-01 21:45:59 | [Mutex] isItemNotified: user_regularh9qv190202@test-domain.com:message:received:content_ugqllv0204 :: true

2022-02-01 21:45:59 |


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


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

2022-02-01 21:45:59 | command: <data><node>node_ed05lc0203</node><expire-at>2022-02-02T05:45:54Z</expire-at><entry><content>content_feec7a0205</content></entry></data>

2022-02-01 21:45:59 | target: http://localhost:8088

2022-02-01 21:45:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:45:59 | entity: <data><node>node_ed05lc0203</node><expire-at>2022-02-02T05:45:54Z</expire-at><entry><content>content_feec7a0205</content></entry></data>

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

2022-02-01 21:45:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f2cf63bf-ddd7-48c3-80e6-76ec38cef2bc</value></item-id></result>

2022-02-01 21:45:59 | contains: true

2022-02-01 21:45:59 | [Mutex] waiting for: [user_regularh9qv190202@test-domain.com:message:received:content_feec7a0205]

2022-02-01 21:46:14 | [Mutex] timeout. Not received [user_regularh9qv190202@test-domain.com:message:received:content_feec7a0205]

2022-02-01 21:46:14 | [Mutex] isItemNotified: user_regularh9qv190202@test-domain.com:message:received:content_feec7a0205 :: false

2022-02-01 21:46:14 |


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


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

2022-02-01 21:46:14 | command: <data><node>node_ed05lc0203</node><entry><content>content_6hs4s70206</content></entry></data>

2022-02-01 21:46:14 | target: http://localhost:8088

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

2022-02-01 21:46:14 | entity: <data><node>node_ed05lc0203</node><entry><content>content_6hs4s70206</content></entry></data>

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

2022-02-01 21:46:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47be9221-b3b8-4771-8845-d1871d527d21</value></item-id></result>

2022-02-01 21:46:14 | contains: true

2022-02-01 21:46:20 | [Mutex] waiting for: [user_regularh9qv190202@test-domain.com:message:received:content_6hs4s70206]

2022-02-01 21:46:20 | [Mutex] received everything.

2022-02-01 21:46:20 | [Mutex] isItemNotified: user_regularh9qv190202@test-domain.com:message:received:content_6hs4s70206 :: true

2022-02-01 21:46:20 |


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


2022-02-01 21:46:20 | [Mutex] received everything.

2022-02-01 21:46:20 | [Mutex] isItemNotified: node_ed05lc0203:subscribe_node:success :: true

2022-02-01 21:46:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:46:20 | command: <data><node>node_ed05lc0203</node><expire-at>2022-02-02T05:46:25Z</expire-at><entry><content>content_kqikj40207</content></entry></data>

2022-02-01 21:46:20 | target: http://localhost:8088

2022-02-01 21:46:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:46:20 | entity: <data><node>node_ed05lc0203</node><expire-at>2022-02-02T05:46:25Z</expire-at><entry><content>content_kqikj40207</content></entry></data>

2022-02-01 21:46:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:46:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:46:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>66e3bbc7-0f82-4e2f-aa0e-a7dd7e1537a6</value></item-id></result>

2022-02-01 21:46:20 | contains: true

2022-02-01 21:46:28 | [Mutex] waiting for: [user_regularh9qv190202@test-domain.com:message:received:content_kqikj40207]

2022-02-01 21:46:43 | [Mutex] timeout. Not received [user_regularh9qv190202@test-domain.com:message:received:content_kqikj40207]

2022-02-01 21:46:43 | [Mutex] received everything.

2022-02-01 21:46:43 | [Mutex] isItemNotified: user_regularh9qv190202@test-domain.com:message:received:content_kqikj40207 :: false

2022-02-01 21:46:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kqikj40207 :: true