Generated by TestNG with ReportNG at 21:21 PST on Thursday 28 January 2021
root@87f6aca6b6f2 / 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.402s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.813s
2021-01-28 21:38:36 |

2021-01-28 21:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-28 21:38:36 | ------------------------------------

2021-01-28 21:38:36 | [Mutex] isItemNotified: node_ehksr20203:exists :: false

2021-01-28 21:38:36 | [Mutex] waiting for: [node_ehksr20203:create_node]

2021-01-28 21:38:36 | [Mutex] received everything.

2021-01-28 21:38:36 | [Mutex] isItemNotified: node_ehksr20203:create_node:success :: true

2021-01-28 21:38:36 | [Mutex] waiting for: [node_ehksr20203:subscribe_node]

2021-01-28 21:38:36 | [Mutex] received everything.

2021-01-28 21:38:36 | [Mutex] isItemNotified: node_ehksr20203:subscribe_node:success :: true

2021-01-28 21:38:36 |


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


2021-01-28 21:38:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:38:36 | command: <data><node>node_ehksr20203</node><entry><content>content_srwbjn0204</content></entry></data>

2021-01-28 21:38:36 | target: http://localhost:8088

2021-01-28 21:38:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-28 21:38:36 | entity: <data><node>node_ehksr20203</node><entry><content>content_srwbjn0204</content></entry></data>

2021-01-28 21:38:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:38:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:38:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56c682bf-6758-4bb1-92b3-179125f463f0</value></item-id></result>

2021-01-28 21:38:36 | contains: true

2021-01-28 21:38:36 | [Mutex] received everything.

2021-01-28 21:38:36 | [Mutex] isItemNotified: user_regular6zejs60202@test-domain.com:message:received:content_srwbjn0204 :: true

2021-01-28 21:38:36 |


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


2021-01-28 21:38:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:38:36 | command: <data><node>node_ehksr20203</node><expire-at>2021-01-29T05:38:31Z</expire-at><entry><content>content_97961w0205</content></entry></data>

2021-01-28 21:38:36 | target: http://localhost:8088

2021-01-28 21:38:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-28 21:38:36 | entity: <data><node>node_ehksr20203</node><expire-at>2021-01-29T05:38:31Z</expire-at><entry><content>content_97961w0205</content></entry></data>

2021-01-28 21:38:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:38:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:38:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c38c5755-2ad3-4acd-bee4-8eb9d41312cd</value></item-id></result>

2021-01-28 21:38:36 | contains: true

2021-01-28 21:38:36 | [Mutex] waiting for: [user_regular6zejs60202@test-domain.com:message:received:content_97961w0205]

2021-01-28 21:38:51 | [Mutex] timeout. Not received [user_regular6zejs60202@test-domain.com:message:received:content_97961w0205]

2021-01-28 21:38:51 | [Mutex] isItemNotified: user_regular6zejs60202@test-domain.com:message:received:content_97961w0205 :: false

2021-01-28 21:38:51 |


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


2021-01-28 21:38:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:38:51 | command: <data><node>node_ehksr20203</node><entry><content>content_ie6h6r0206</content></entry></data>

2021-01-28 21:38:51 | target: http://localhost:8088

2021-01-28 21:38:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-28 21:38:51 | entity: <data><node>node_ehksr20203</node><entry><content>content_ie6h6r0206</content></entry></data>

2021-01-28 21:38:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:38:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:38:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>148a10a1-d4fb-4bbc-827e-f69fc9436e1c</value></item-id></result>

2021-01-28 21:38:51 | contains: true

2021-01-28 21:38:57 | [Mutex] waiting for: [user_regular6zejs60202@test-domain.com:message:received:content_ie6h6r0206]

2021-01-28 21:38:57 | [Mutex] received everything.

2021-01-28 21:38:57 | [Mutex] isItemNotified: user_regular6zejs60202@test-domain.com:message:received:content_ie6h6r0206 :: true

2021-01-28 21:38:57 |


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


2021-01-28 21:38:57 | [Mutex] received everything.

2021-01-28 21:38:57 | [Mutex] isItemNotified: node_ehksr20203:subscribe_node:success :: true

2021-01-28 21:38:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:38:57 | command: <data><node>node_ehksr20203</node><expire-at>2021-01-29T05:39:02Z</expire-at><entry><content>content_s3s5iq0207</content></entry></data>

2021-01-28 21:38:57 | target: http://localhost:8088

2021-01-28 21:38:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-28 21:38:57 | entity: <data><node>node_ehksr20203</node><expire-at>2021-01-29T05:39:02Z</expire-at><entry><content>content_s3s5iq0207</content></entry></data>

2021-01-28 21:38:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:38:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:38:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a66c0b88-fe8d-4b1b-b5c3-7925f9a981d2</value></item-id></result>

2021-01-28 21:38:57 | contains: true

2021-01-28 21:39:05 | [Mutex] waiting for: [user_regular6zejs60202@test-domain.com:message:received:content_s3s5iq0207]

2021-01-28 21:39:20 | [Mutex] timeout. Not received [user_regular6zejs60202@test-domain.com:message:received:content_s3s5iq0207]

2021-01-28 21:39:20 | [Mutex] received everything.

2021-01-28 21:39:20 | [Mutex] isItemNotified: user_regular6zejs60202@test-domain.com:message:received:content_s3s5iq0207 :: false

2021-01-28 21:39:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s3s5iq0207 :: true