Generated by TestNG with ReportNG at 22:38 PDT on Sunday 12 June 2022
root@1bc69cf4cb94 / 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.648s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2022-06-12 22:53:11 |

2022-06-12 22:53:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-12 22:53:11 | ------------------------------------

2022-06-12 22:53:11 | [Mutex] isItemNotified: node_xhhnhh0204:exists :: false

2022-06-12 22:53:11 | [Mutex] waiting for: [node_xhhnhh0204:create_node]

2022-06-12 22:53:11 | [Mutex] received everything.

2022-06-12 22:53:11 | [Mutex] isItemNotified: node_xhhnhh0204:create_node:success :: true

2022-06-12 22:53:11 | [Mutex] waiting for: [node_xhhnhh0204:subscribe_node]

2022-06-12 22:53:11 | [Mutex] waiting for: [node_xhhnhh0204:subscribe_node]

2022-06-12 22:53:11 | [Mutex] received everything.

2022-06-12 22:53:11 | [Mutex] isItemNotified: node_xhhnhh0204:subscribe_node:success :: true

2022-06-12 22:53:11 |


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


2022-06-12 22:53:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:53:11 | command: <data><node>node_xhhnhh0204</node><entry><content>content_3vlxv10205</content></entry></data>

2022-06-12 22:53:11 | target: http://localhost:8088

2022-06-12 22:53:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-12 22:53:11 | entity: <data><node>node_xhhnhh0204</node><entry><content>content_3vlxv10205</content></entry></data>

2022-06-12 22:53:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:53:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:53:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46fde888-9d63-432a-8df0-a2e1f9d1acd4</value></item-id></result>

2022-06-12 22:53:11 | contains: true

2022-06-12 22:53:11 | [Mutex] received everything.

2022-06-12 22:53:11 | [Mutex] isItemNotified: user_regular96shfd0203@test-domain.com:message:received:content_3vlxv10205 :: true

2022-06-12 22:53:11 |


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


2022-06-12 22:53:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:53:11 | command: <data><node>node_xhhnhh0204</node><expire-at>2022-06-13T05:53:06Z</expire-at><entry><content>content_3a7ab30206</content></entry></data>

2022-06-12 22:53:11 | target: http://localhost:8088

2022-06-12 22:53:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-12 22:53:11 | entity: <data><node>node_xhhnhh0204</node><expire-at>2022-06-13T05:53:06Z</expire-at><entry><content>content_3a7ab30206</content></entry></data>

2022-06-12 22:53:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:53:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:53:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbfeb6cb-dc8d-42d5-9171-3bc53dd8fdc5</value></item-id></result>

2022-06-12 22:53:11 | contains: true

2022-06-12 22:53:11 | [Mutex] waiting for: [user_regular96shfd0203@test-domain.com:message:received:content_3a7ab30206]

2022-06-12 22:53:26 | [Mutex] timeout. Not received [user_regular96shfd0203@test-domain.com:message:received:content_3a7ab30206]

2022-06-12 22:53:26 | [Mutex] isItemNotified: user_regular96shfd0203@test-domain.com:message:received:content_3a7ab30206 :: false

2022-06-12 22:53:26 |


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


2022-06-12 22:53:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:53:26 | command: <data><node>node_xhhnhh0204</node><entry><content>content_q75az30207</content></entry></data>

2022-06-12 22:53:26 | target: http://localhost:8088

2022-06-12 22:53:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-12 22:53:26 | entity: <data><node>node_xhhnhh0204</node><entry><content>content_q75az30207</content></entry></data>

2022-06-12 22:53:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:53:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:53:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4992e01-a2e3-4700-bd69-cba9809cb9c4</value></item-id></result>

2022-06-12 22:53:26 | contains: true

2022-06-12 22:53:31 | [Mutex] waiting for: [user_regular96shfd0203@test-domain.com:message:received:content_q75az30207]

2022-06-12 22:53:31 | [Mutex] received everything.

2022-06-12 22:53:31 | [Mutex] isItemNotified: user_regular96shfd0203@test-domain.com:message:received:content_q75az30207 :: true

2022-06-12 22:53:31 |


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


2022-06-12 22:53:31 | [Mutex] received everything.

2022-06-12 22:53:31 | [Mutex] isItemNotified: node_xhhnhh0204:subscribe_node:success :: true

2022-06-12 22:53:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:53:31 | command: <data><node>node_xhhnhh0204</node><expire-at>2022-06-13T05:53:36Z</expire-at><entry><content>content_vqh67i0208</content></entry></data>

2022-06-12 22:53:31 | target: http://localhost:8088

2022-06-12 22:53:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-12 22:53:31 | entity: <data><node>node_xhhnhh0204</node><expire-at>2022-06-13T05:53:36Z</expire-at><entry><content>content_vqh67i0208</content></entry></data>

2022-06-12 22:53:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:53:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:53:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1810e243-3998-4e19-8ba6-1306ab1097b3</value></item-id></result>

2022-06-12 22:53:32 | contains: true

2022-06-12 22:53:40 | [Mutex] waiting for: [user_regular96shfd0203@test-domain.com:message:received:content_vqh67i0208]

2022-06-12 22:53:40 | [Mutex] waiting for: [user_regular96shfd0203@test-domain.com:message:received:content_vqh67i0208]

2022-06-12 22:53:55 | [Mutex] timeout. Not received [user_regular96shfd0203@test-domain.com:message:received:content_vqh67i0208]

2022-06-12 22:53:55 | [Mutex] received everything.

2022-06-12 22:53:55 | [Mutex] isItemNotified: user_regular96shfd0203@test-domain.com:message:received:content_vqh67i0208 :: false

2022-06-12 22:53:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vqh67i0208 :: true