Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 29 June 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.762s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.597s
2022-06-29 22:34:04 |

2022-06-29 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-29 22:34:04 | ------------------------------------

2022-06-29 22:34:04 | [Mutex] isItemNotified: node_4mfdjd0204:exists :: false

2022-06-29 22:34:04 | [Mutex] waiting for: [node_4mfdjd0204:create_node]

2022-06-29 22:34:04 | [Mutex] received everything.

2022-06-29 22:34:04 | [Mutex] isItemNotified: node_4mfdjd0204:create_node:success :: true

2022-06-29 22:34:04 | [Mutex] waiting for: [node_4mfdjd0204:subscribe_node]

2022-06-29 22:34:04 | [Mutex] waiting for: [node_4mfdjd0204:subscribe_node]

2022-06-29 22:34:04 | [Mutex] received everything.

2022-06-29 22:34:04 | [Mutex] isItemNotified: node_4mfdjd0204:subscribe_node:success :: true

2022-06-29 22:34:04 |


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


2022-06-29 22:34:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 22:34:04 | command: <data><node>node_4mfdjd0204</node><entry><content>content_l193dx0205</content></entry></data>

2022-06-29 22:34:04 | target: http://localhost:8088

2022-06-29 22:34:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-29 22:34:04 | entity: <data><node>node_4mfdjd0204</node><entry><content>content_l193dx0205</content></entry></data>

2022-06-29 22:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 22:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1300de22-eba4-44da-bd79-f5439feaa57d</value></item-id></result>

2022-06-29 22:34:04 | contains: true

2022-06-29 22:34:04 | [Mutex] received everything.

2022-06-29 22:34:04 | [Mutex] isItemNotified: user_regular2ends50203@test-domain.com:message:received:content_l193dx0205 :: true

2022-06-29 22:34:04 |


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


2022-06-29 22:34:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 22:34:04 | command: <data><node>node_4mfdjd0204</node><expire-at>2022-06-30T05:33:59Z</expire-at><entry><content>content_b1jl3y0206</content></entry></data>

2022-06-29 22:34:04 | target: http://localhost:8088

2022-06-29 22:34:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-29 22:34:04 | entity: <data><node>node_4mfdjd0204</node><expire-at>2022-06-30T05:33:59Z</expire-at><entry><content>content_b1jl3y0206</content></entry></data>

2022-06-29 22:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 22:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad0a7137-60aa-4794-a417-2209faa25ac8</value></item-id></result>

2022-06-29 22:34:04 | contains: true

2022-06-29 22:34:04 | [Mutex] waiting for: [user_regular2ends50203@test-domain.com:message:received:content_b1jl3y0206]

2022-06-29 22:34:19 | [Mutex] timeout. Not received [user_regular2ends50203@test-domain.com:message:received:content_b1jl3y0206]

2022-06-29 22:34:19 | [Mutex] isItemNotified: user_regular2ends50203@test-domain.com:message:received:content_b1jl3y0206 :: false

2022-06-29 22:34:19 |


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


2022-06-29 22:34:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 22:34:19 | command: <data><node>node_4mfdjd0204</node><entry><content>content_6opwfi0207</content></entry></data>

2022-06-29 22:34:19 | target: http://localhost:8088

2022-06-29 22:34:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-29 22:34:19 | entity: <data><node>node_4mfdjd0204</node><entry><content>content_6opwfi0207</content></entry></data>

2022-06-29 22:34:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 22:34:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ae252e0-fd46-4431-9741-5fa872fae9e2</value></item-id></result>

2022-06-29 22:34:19 | contains: true

2022-06-29 22:34:25 | [Mutex] waiting for: [user_regular2ends50203@test-domain.com:message:received:content_6opwfi0207]

2022-06-29 22:34:25 | [Mutex] received everything.

2022-06-29 22:34:25 | [Mutex] isItemNotified: user_regular2ends50203@test-domain.com:message:received:content_6opwfi0207 :: true

2022-06-29 22:34:25 |


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


2022-06-29 22:34:25 | [Mutex] received everything.

2022-06-29 22:34:25 | [Mutex] isItemNotified: node_4mfdjd0204:subscribe_node:success :: true

2022-06-29 22:34:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 22:34:25 | command: <data><node>node_4mfdjd0204</node><expire-at>2022-06-30T05:34:30Z</expire-at><entry><content>content_ayo43h0208</content></entry></data>

2022-06-29 22:34:25 | target: http://localhost:8088

2022-06-29 22:34:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-29 22:34:25 | entity: <data><node>node_4mfdjd0204</node><expire-at>2022-06-30T05:34:30Z</expire-at><entry><content>content_ayo43h0208</content></entry></data>

2022-06-29 22:34:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 22:34:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4cda0af1-efcf-4da4-a9d9-578c767b0b36</value></item-id></result>

2022-06-29 22:34:25 | contains: true

2022-06-29 22:34:33 | [Mutex] waiting for: [user_regular2ends50203@test-domain.com:message:received:content_ayo43h0208]

2022-06-29 22:34:48 | [Mutex] timeout. Not received [user_regular2ends50203@test-domain.com:message:received:content_ayo43h0208]

2022-06-29 22:34:48 | [Mutex] received everything.

2022-06-29 22:34:48 | [Mutex] isItemNotified: user_regular2ends50203@test-domain.com:message:received:content_ayo43h0208 :: false

2022-06-29 22:34:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ayo43h0208 :: true