Generated by TestNG with ReportNG at 22:22 PDT on Tuesday 10 May 2022
root@21fb2cc9076b / 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 : 44.587s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2022-05-10 22:37:10 |

2022-05-10 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-10 22:37:10 | ------------------------------------

2022-05-10 22:37:10 | [Mutex] isItemNotified: node_uhxm3n0204:exists :: false

2022-05-10 22:37:10 | [Mutex] waiting for: [node_uhxm3n0204:create_node]

2022-05-10 22:37:10 | [Mutex] received everything.

2022-05-10 22:37:10 | [Mutex] isItemNotified: node_uhxm3n0204:create_node:success :: true

2022-05-10 22:37:10 | [Mutex] waiting for: [node_uhxm3n0204:subscribe_node]

2022-05-10 22:37:10 | [Mutex] received everything.

2022-05-10 22:37:10 | [Mutex] isItemNotified: node_uhxm3n0204:subscribe_node:success :: true

2022-05-10 22:37:10 |


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


2022-05-10 22:37:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:37:10 | command: <data><node>node_uhxm3n0204</node><entry><content>content_8cwcgm0205</content></entry></data>

2022-05-10 22:37:10 | target: http://localhost:8088

2022-05-10 22:37:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-10 22:37:10 | entity: <data><node>node_uhxm3n0204</node><entry><content>content_8cwcgm0205</content></entry></data>

2022-05-10 22:37:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:37:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:37:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f066bd99-d241-4606-bc87-19a36e403969</value></item-id></result>

2022-05-10 22:37:10 | contains: true

2022-05-10 22:37:10 | [Mutex] received everything.

2022-05-10 22:37:10 | [Mutex] isItemNotified: user_regulardrsu3h0203@test-domain.com:message:received:content_8cwcgm0205 :: true

2022-05-10 22:37:10 |


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


2022-05-10 22:37:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:37:10 | command: <data><node>node_uhxm3n0204</node><expire-at>2022-05-11T05:37:05Z</expire-at><entry><content>content_z5tdn30206</content></entry></data>

2022-05-10 22:37:10 | target: http://localhost:8088

2022-05-10 22:37:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:37:10 | entity: <data><node>node_uhxm3n0204</node><expire-at>2022-05-11T05:37:05Z</expire-at><entry><content>content_z5tdn30206</content></entry></data>

2022-05-10 22:37:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:37:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:37:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f83eeddb-4c63-40ab-8676-334c9c7f262b</value></item-id></result>

2022-05-10 22:37:10 | contains: true

2022-05-10 22:37:10 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_z5tdn30206]

2022-05-10 22:37:25 | [Mutex] timeout. Not received [user_regulardrsu3h0203@test-domain.com:message:received:content_z5tdn30206]

2022-05-10 22:37:25 | [Mutex] isItemNotified: user_regulardrsu3h0203@test-domain.com:message:received:content_z5tdn30206 :: false

2022-05-10 22:37:25 |


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


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

2022-05-10 22:37:25 | command: <data><node>node_uhxm3n0204</node><entry><content>content_gewki10207</content></entry></data>

2022-05-10 22:37:25 | target: http://localhost:8088

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

2022-05-10 22:37:25 | entity: <data><node>node_uhxm3n0204</node><entry><content>content_gewki10207</content></entry></data>

2022-05-10 22:37:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:37:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-10 22:37:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b69cce9-a3bf-4d20-b122-793c8592c437</value></item-id></result>

2022-05-10 22:37:25 | contains: true

2022-05-10 22:37:30 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_gewki10207]

2022-05-10 22:37:30 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_gewki10207]

2022-05-10 22:37:30 | [Mutex] received everything.

2022-05-10 22:37:30 | [Mutex] isItemNotified: user_regulardrsu3h0203@test-domain.com:message:received:content_gewki10207 :: true

2022-05-10 22:37:30 |


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


2022-05-10 22:37:30 | [Mutex] received everything.

2022-05-10 22:37:30 | [Mutex] isItemNotified: node_uhxm3n0204:subscribe_node:success :: true

2022-05-10 22:37:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-10 22:37:30 | command: <data><node>node_uhxm3n0204</node><expire-at>2022-05-11T05:37:35Z</expire-at><entry><content>content_mcjr5o0208</content></entry></data>

2022-05-10 22:37:30 | target: http://localhost:8088

2022-05-10 22:37:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-10 22:37:30 | entity: <data><node>node_uhxm3n0204</node><expire-at>2022-05-11T05:37:35Z</expire-at><entry><content>content_mcjr5o0208</content></entry></data>

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

2022-05-10 22:37:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>838f3914-3ae8-4538-bce9-acd7b3e4bf70</value></item-id></result>

2022-05-10 22:37:30 | contains: true

2022-05-10 22:37:38 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_mcjr5o0208]

2022-05-10 22:37:38 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_mcjr5o0208]

2022-05-10 22:37:38 | [Mutex] waiting for: [user_regulardrsu3h0203@test-domain.com:message:received:content_mcjr5o0208]

2022-05-10 22:37:53 | [Mutex] timeout. Not received [user_regulardrsu3h0203@test-domain.com:message:received:content_mcjr5o0208]

2022-05-10 22:37:53 | [Mutex] received everything.

2022-05-10 22:37:53 | [Mutex] isItemNotified: user_regulardrsu3h0203@test-domain.com:message:received:content_mcjr5o0208 :: false

2022-05-10 22:37:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mcjr5o0208 :: true