Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 30 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.912s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.617s
2022-08-30 22:33:54 |

2022-08-30 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-30 22:33:54 | ------------------------------------

2022-08-30 22:33:54 | [Mutex] isItemNotified: node_iftgv00204:exists :: false

2022-08-30 22:33:54 | [Mutex] waiting for: [node_iftgv00204:create_node]

2022-08-30 22:33:54 | [Mutex] received everything.

2022-08-30 22:33:54 | [Mutex] isItemNotified: node_iftgv00204:create_node:success :: true

2022-08-30 22:33:54 | [Mutex] waiting for: [node_iftgv00204:subscribe_node]

2022-08-30 22:33:54 | [Mutex] received everything.

2022-08-30 22:33:54 | [Mutex] isItemNotified: node_iftgv00204:subscribe_node:success :: true

2022-08-30 22:33:54 |


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


2022-08-30 22:33:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 22:33:54 | command: <data><node>node_iftgv00204</node><entry><content>content_t8hizk0205</content></entry></data>

2022-08-30 22:33:54 | target: http://localhost:8088

2022-08-30 22:33:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-30 22:33:54 | entity: <data><node>node_iftgv00204</node><entry><content>content_t8hizk0205</content></entry></data>

2022-08-30 22:33:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 05:33:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 22:33:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>634c6482-f982-47bd-89a2-30f2e9478605</value></item-id></result>

2022-08-30 22:33:54 | contains: true

2022-08-30 22:33:54 | [Mutex] received everything.

2022-08-30 22:33:54 | [Mutex] isItemNotified: user_regularmoi0x60203@test-domain.com:message:received:content_t8hizk0205 :: true

2022-08-30 22:33:54 |


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


2022-08-30 22:33:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 22:33:54 | command: <data><node>node_iftgv00204</node><expire-at>2022-08-31T05:33:49Z</expire-at><entry><content>content_jmjra70206</content></entry></data>

2022-08-30 22:33:54 | target: http://localhost:8088

2022-08-30 22:33:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-30 22:33:54 | entity: <data><node>node_iftgv00204</node><expire-at>2022-08-31T05:33:49Z</expire-at><entry><content>content_jmjra70206</content></entry></data>

2022-08-30 22:33:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 05:33:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 22:33:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12a16b71-78ec-4d8d-ba7b-bb690897d16e</value></item-id></result>

2022-08-30 22:33:54 | contains: true

2022-08-30 22:33:54 | [Mutex] waiting for: [user_regularmoi0x60203@test-domain.com:message:received:content_jmjra70206]

2022-08-30 22:34:09 | [Mutex] timeout. Not received [user_regularmoi0x60203@test-domain.com:message:received:content_jmjra70206]

2022-08-30 22:34:09 | [Mutex] isItemNotified: user_regularmoi0x60203@test-domain.com:message:received:content_jmjra70206 :: false

2022-08-30 22:34:09 |


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


2022-08-30 22:34:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 22:34:09 | command: <data><node>node_iftgv00204</node><entry><content>content_8u7hba0207</content></entry></data>

2022-08-30 22:34:09 | target: http://localhost:8088

2022-08-30 22:34:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-30 22:34:09 | entity: <data><node>node_iftgv00204</node><entry><content>content_8u7hba0207</content></entry></data>

2022-08-30 22:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 05:34:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 22:34:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>691ff2df-a927-4e55-b0b5-4cb949cde25c</value></item-id></result>

2022-08-30 22:34:10 | contains: true

2022-08-30 22:34:15 | [Mutex] waiting for: [user_regularmoi0x60203@test-domain.com:message:received:content_8u7hba0207]

2022-08-30 22:34:15 | [Mutex] received everything.

2022-08-30 22:34:15 | [Mutex] isItemNotified: user_regularmoi0x60203@test-domain.com:message:received:content_8u7hba0207 :: true

2022-08-30 22:34:15 |


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


2022-08-30 22:34:15 | [Mutex] received everything.

2022-08-30 22:34:15 | [Mutex] isItemNotified: node_iftgv00204:subscribe_node:success :: true

2022-08-30 22:34:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 22:34:15 | command: <data><node>node_iftgv00204</node><expire-at>2022-08-31T05:34:20Z</expire-at><entry><content>content_diiabk0208</content></entry></data>

2022-08-30 22:34:15 | target: http://localhost:8088

2022-08-30 22:34:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-30 22:34:15 | entity: <data><node>node_iftgv00204</node><expire-at>2022-08-31T05:34:20Z</expire-at><entry><content>content_diiabk0208</content></entry></data>

2022-08-30 22:34:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 05:34:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 22:34:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bed4711a-52bc-4949-9930-ed6441e38c2c</value></item-id></result>

2022-08-30 22:34:15 | contains: true

2022-08-30 22:34:23 | [Mutex] waiting for: [user_regularmoi0x60203@test-domain.com:message:received:content_diiabk0208]

2022-08-30 22:34:38 | [Mutex] timeout. Not received [user_regularmoi0x60203@test-domain.com:message:received:content_diiabk0208]

2022-08-30 22:34:38 | [Mutex] received everything.

2022-08-30 22:34:38 | [Mutex] isItemNotified: user_regularmoi0x60203@test-domain.com:message:received:content_diiabk0208 :: false

2022-08-30 22:34:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_diiabk0208 :: true