Generated by TestNG with ReportNG at 22:41 PDT on Wednesday 23 September 2020
root@d2a27fcc5bc3 / 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.210s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.801s
2020-09-23 22:57:47 |

2020-09-23 22:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-23 22:57:47 | ------------------------------------

2020-09-23 22:57:47 | [Mutex] isItemNotified: node_tjry010203:exists :: false

2020-09-23 22:57:47 | [Mutex] waiting for: [node_tjry010203:create_node]

2020-09-23 22:57:47 | [Mutex] received everything.

2020-09-23 22:57:47 | [Mutex] isItemNotified: node_tjry010203:create_node:success :: true

2020-09-23 22:57:47 | [Mutex] waiting for: [node_tjry010203:subscribe_node]

2020-09-23 22:57:47 | [Mutex] waiting for: [node_tjry010203:subscribe_node]

2020-09-23 22:57:47 | [Mutex] received everything.

2020-09-23 22:57:47 | [Mutex] isItemNotified: node_tjry010203:subscribe_node:success :: true

2020-09-23 22:57:47 |


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


2020-09-23 22:57:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 22:57:47 | command: <data><node>node_tjry010203</node><entry><content>content_c0gc2h0204</content></entry></data>

2020-09-23 22:57:47 | target: http://localhost:8088

2020-09-23 22:57:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-23 22:57:47 | entity: <data><node>node_tjry010203</node><entry><content>content_c0gc2h0204</content></entry></data>

2020-09-23 22:57:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:57:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 22:57:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d547a55-4839-4f41-a063-133a43629bce</value></item-id></result>

2020-09-23 22:57:48 | contains: true

2020-09-23 22:57:48 | [Mutex] received everything.

2020-09-23 22:57:48 | [Mutex] isItemNotified: user_regular6vyzw00202@test-domain.com:message:received:content_c0gc2h0204 :: true

2020-09-23 22:57:48 |


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


2020-09-23 22:57:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 22:57:48 | command: <data><node>node_tjry010203</node><expire-at>2020-09-24T05:57:43Z</expire-at><entry><content>content_y3ax4w0205</content></entry></data>

2020-09-23 22:57:48 | target: http://localhost:8088

2020-09-23 22:57:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-23 22:57:48 | entity: <data><node>node_tjry010203</node><expire-at>2020-09-24T05:57:43Z</expire-at><entry><content>content_y3ax4w0205</content></entry></data>

2020-09-23 22:57:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:57:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 22:57:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>463a1f8e-3e9b-4263-9d36-f21e7d9639e9</value></item-id></result>

2020-09-23 22:57:48 | contains: true

2020-09-23 22:57:48 | [Mutex] waiting for: [user_regular6vyzw00202@test-domain.com:message:received:content_y3ax4w0205]

2020-09-23 22:58:03 | [Mutex] timeout. Not received [user_regular6vyzw00202@test-domain.com:message:received:content_y3ax4w0205]

2020-09-23 22:58:03 | [Mutex] isItemNotified: user_regular6vyzw00202@test-domain.com:message:received:content_y3ax4w0205 :: false

2020-09-23 22:58:03 |


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


2020-09-23 22:58:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 22:58:03 | command: <data><node>node_tjry010203</node><entry><content>content_2shutt0206</content></entry></data>

2020-09-23 22:58:03 | target: http://localhost:8088

2020-09-23 22:58:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-23 22:58:03 | entity: <data><node>node_tjry010203</node><entry><content>content_2shutt0206</content></entry></data>

2020-09-23 22:58:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:58:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 22:58:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>897caaef-e1a8-4292-beeb-ccaf49b87cd4</value></item-id></result>

2020-09-23 22:58:03 | contains: true

2020-09-23 22:58:08 | [Mutex] waiting for: [user_regular6vyzw00202@test-domain.com:message:received:content_2shutt0206]

2020-09-23 22:58:08 | [Mutex] received everything.

2020-09-23 22:58:08 | [Mutex] isItemNotified: user_regular6vyzw00202@test-domain.com:message:received:content_2shutt0206 :: true

2020-09-23 22:58:08 |


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


2020-09-23 22:58:08 | [Mutex] received everything.

2020-09-23 22:58:08 | [Mutex] isItemNotified: node_tjry010203:subscribe_node:success :: true

2020-09-23 22:58:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-23 22:58:08 | command: <data><node>node_tjry010203</node><expire-at>2020-09-24T05:58:13Z</expire-at><entry><content>content_36w7a00207</content></entry></data>

2020-09-23 22:58:08 | target: http://localhost:8088

2020-09-23 22:58:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-23 22:58:08 | entity: <data><node>node_tjry010203</node><expire-at>2020-09-24T05:58:13Z</expire-at><entry><content>content_36w7a00207</content></entry></data>

2020-09-23 22:58:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:58:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-23 22:58:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>773ed704-27cf-434e-89a2-bb38ac76d00f</value></item-id></result>

2020-09-23 22:58:08 | contains: true

2020-09-23 22:58:16 | [Mutex] waiting for: [user_regular6vyzw00202@test-domain.com:message:received:content_36w7a00207]

2020-09-23 22:58:31 | [Mutex] timeout. Not received [user_regular6vyzw00202@test-domain.com:message:received:content_36w7a00207]

2020-09-23 22:58:31 | [Mutex] received everything.

2020-09-23 22:58:31 | [Mutex] isItemNotified: user_regular6vyzw00202@test-domain.com:message:received:content_36w7a00207 :: false

2020-09-23 22:58:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_36w7a00207 :: true