Generated by TestNG with ReportNG at 22:41 PDT on Tuesday 28 September 2021
root@785cf647a4ab / 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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.822s
2021-09-28 22:56:57 |

2021-09-28 22:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-28 22:56:57 | ------------------------------------

2021-09-28 22:56:57 | [Mutex] isItemNotified: node_wy0gjt0203:exists :: false

2021-09-28 22:56:57 | [Mutex] waiting for: [node_wy0gjt0203:create_node]

2021-09-28 22:56:57 | [Mutex] received everything.

2021-09-28 22:56:57 | [Mutex] isItemNotified: node_wy0gjt0203:create_node:success :: true

2021-09-28 22:56:57 | [Mutex] waiting for: [node_wy0gjt0203:subscribe_node]

2021-09-28 22:56:57 | [Mutex] received everything.

2021-09-28 22:56:57 | [Mutex] isItemNotified: node_wy0gjt0203:subscribe_node:success :: true

2021-09-28 22:56:57 |


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


2021-09-28 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:56:57 | command: <data><node>node_wy0gjt0203</node><entry><content>content_tvgbnq0204</content></entry></data>

2021-09-28 22:56:57 | target: http://localhost:8088

2021-09-28 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-28 22:56:57 | entity: <data><node>node_wy0gjt0203</node><entry><content>content_tvgbnq0204</content></entry></data>

2021-09-28 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7629301f-0292-40f5-ac23-319852d85a3d</value></item-id></result>

2021-09-28 22:56:57 | contains: true

2021-09-28 22:56:57 | [Mutex] received everything.

2021-09-28 22:56:57 | [Mutex] isItemNotified: user_regular2y0w350202@test-domain.com:message:received:content_tvgbnq0204 :: true

2021-09-28 22:56:57 |


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


2021-09-28 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:56:57 | command: <data><node>node_wy0gjt0203</node><expire-at>2021-09-29T05:56:52Z</expire-at><entry><content>content_v2rudy0205</content></entry></data>

2021-09-28 22:56:57 | target: http://localhost:8088

2021-09-28 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-28 22:56:57 | entity: <data><node>node_wy0gjt0203</node><expire-at>2021-09-29T05:56:52Z</expire-at><entry><content>content_v2rudy0205</content></entry></data>

2021-09-28 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b199088f-611e-4a9b-bf9f-0fa30c8b2537</value></item-id></result>

2021-09-28 22:56:57 | contains: true

2021-09-28 22:56:57 | [Mutex] waiting for: [user_regular2y0w350202@test-domain.com:message:received:content_v2rudy0205]

2021-09-28 22:57:12 | [Mutex] timeout. Not received [user_regular2y0w350202@test-domain.com:message:received:content_v2rudy0205]

2021-09-28 22:57:12 | [Mutex] isItemNotified: user_regular2y0w350202@test-domain.com:message:received:content_v2rudy0205 :: false

2021-09-28 22:57:12 |


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


2021-09-28 22:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:57:12 | command: <data><node>node_wy0gjt0203</node><entry><content>content_k75z5m0206</content></entry></data>

2021-09-28 22:57:12 | target: http://localhost:8088

2021-09-28 22:57:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-28 22:57:12 | entity: <data><node>node_wy0gjt0203</node><entry><content>content_k75z5m0206</content></entry></data>

2021-09-28 22:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c7a30374-02bf-40c4-bcde-6c957cca638e</value></item-id></result>

2021-09-28 22:57:12 | contains: true

2021-09-28 22:57:18 | [Mutex] waiting for: [user_regular2y0w350202@test-domain.com:message:received:content_k75z5m0206]

2021-09-28 22:57:18 | [Mutex] waiting for: [user_regular2y0w350202@test-domain.com:message:received:content_k75z5m0206]

2021-09-28 22:57:18 | [Mutex] received everything.

2021-09-28 22:57:18 | [Mutex] isItemNotified: user_regular2y0w350202@test-domain.com:message:received:content_k75z5m0206 :: true

2021-09-28 22:57:18 |


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


2021-09-28 22:57:18 | [Mutex] received everything.

2021-09-28 22:57:18 | [Mutex] isItemNotified: node_wy0gjt0203:subscribe_node:success :: true

2021-09-28 22:57:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:57:18 | command: <data><node>node_wy0gjt0203</node><expire-at>2021-09-29T05:57:23Z</expire-at><entry><content>content_cu01by0207</content></entry></data>

2021-09-28 22:57:18 | target: http://localhost:8088

2021-09-28 22:57:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-28 22:57:18 | entity: <data><node>node_wy0gjt0203</node><expire-at>2021-09-29T05:57:23Z</expire-at><entry><content>content_cu01by0207</content></entry></data>

2021-09-28 22:57:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:57:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:57:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>20463193-9b19-4e51-9d29-1d715e02f15a</value></item-id></result>

2021-09-28 22:57:18 | contains: true

2021-09-28 22:57:26 | [Mutex] waiting for: [user_regular2y0w350202@test-domain.com:message:received:content_cu01by0207]

2021-09-28 22:57:26 | [Mutex] waiting for: [user_regular2y0w350202@test-domain.com:message:received:content_cu01by0207]

2021-09-28 22:57:41 | [Mutex] timeout. Not received [user_regular2y0w350202@test-domain.com:message:received:content_cu01by0207]

2021-09-28 22:57:41 | [Mutex] received everything.

2021-09-28 22:57:41 | [Mutex] isItemNotified: user_regular2y0w350202@test-domain.com:message:received:content_cu01by0207 :: false

2021-09-28 22:57:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cu01by0207 :: true