Generated by TestNG with ReportNG at 23:28 PDT on Wednesday 16 September 2020
root@3bfba8b1ef0d / 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.222s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.764s
2020-09-16 23:45:15 |

2020-09-16 23:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-16 23:45:15 | ------------------------------------

2020-09-16 23:45:15 | [Mutex] isItemNotified: node_txdhek0203:exists :: false

2020-09-16 23:45:15 | [Mutex] waiting for: [node_txdhek0203:create_node]

2020-09-16 23:45:15 | [Mutex] received everything.

2020-09-16 23:45:15 | [Mutex] isItemNotified: node_txdhek0203:create_node:success :: true

2020-09-16 23:45:15 | [Mutex] waiting for: [node_txdhek0203:subscribe_node]

2020-09-16 23:45:15 | [Mutex] waiting for: [node_txdhek0203:subscribe_node]

2020-09-16 23:45:15 | [Mutex] received everything.

2020-09-16 23:45:15 | [Mutex] isItemNotified: node_txdhek0203:subscribe_node:success :: true

2020-09-16 23:45:15 |


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


2020-09-16 23:45:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:45:15 | command: <data><node>node_txdhek0203</node><entry><content>content_6yoms90204</content></entry></data>

2020-09-16 23:45:15 | target: http://localhost:8088

2020-09-16 23:45:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-16 23:45:15 | entity: <data><node>node_txdhek0203</node><entry><content>content_6yoms90204</content></entry></data>

2020-09-16 23:45:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:45:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:45:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61284ea8-62f1-4060-9c79-1d2f23a30e3b</value></item-id></result>

2020-09-16 23:45:15 | contains: true

2020-09-16 23:45:15 | [Mutex] received everything.

2020-09-16 23:45:15 | [Mutex] isItemNotified: user_regularop9t440202@test-domain.com:message:received:content_6yoms90204 :: true

2020-09-16 23:45:15 |


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


2020-09-16 23:45:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:45:15 | command: <data><node>node_txdhek0203</node><expire-at>2020-09-17T06:45:10Z</expire-at><entry><content>content_ib589h0205</content></entry></data>

2020-09-16 23:45:15 | target: http://localhost:8088

2020-09-16 23:45:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 23:45:15 | entity: <data><node>node_txdhek0203</node><expire-at>2020-09-17T06:45:10Z</expire-at><entry><content>content_ib589h0205</content></entry></data>

2020-09-16 23:45:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:45:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:45:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ccc50d2b-5a37-46fb-a08f-626ce8615e6f</value></item-id></result>

2020-09-16 23:45:15 | contains: true

2020-09-16 23:45:15 | [Mutex] waiting for: [user_regularop9t440202@test-domain.com:message:received:content_ib589h0205]

2020-09-16 23:45:30 | [Mutex] timeout. Not received [user_regularop9t440202@test-domain.com:message:received:content_ib589h0205]

2020-09-16 23:45:30 | [Mutex] isItemNotified: user_regularop9t440202@test-domain.com:message:received:content_ib589h0205 :: false

2020-09-16 23:45:30 |


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


2020-09-16 23:45:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:45:30 | command: <data><node>node_txdhek0203</node><entry><content>content_b4s3jw0206</content></entry></data>

2020-09-16 23:45:30 | target: http://localhost:8088

2020-09-16 23:45:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-16 23:45:30 | entity: <data><node>node_txdhek0203</node><entry><content>content_b4s3jw0206</content></entry></data>

2020-09-16 23:45:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:45:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:45:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1acb8702-624f-458a-98cc-b6af7776adbd</value></item-id></result>

2020-09-16 23:45:30 | contains: true

2020-09-16 23:45:36 | [Mutex] waiting for: [user_regularop9t440202@test-domain.com:message:received:content_b4s3jw0206]

2020-09-16 23:45:36 | [Mutex] waiting for: [user_regularop9t440202@test-domain.com:message:received:content_b4s3jw0206]

2020-09-16 23:45:36 | [Mutex] received everything.

2020-09-16 23:45:36 | [Mutex] isItemNotified: user_regularop9t440202@test-domain.com:message:received:content_b4s3jw0206 :: true

2020-09-16 23:45:36 |


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


2020-09-16 23:45:36 | [Mutex] received everything.

2020-09-16 23:45:36 | [Mutex] isItemNotified: node_txdhek0203:subscribe_node:success :: true

2020-09-16 23:45:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:45:36 | command: <data><node>node_txdhek0203</node><expire-at>2020-09-17T06:45:41Z</expire-at><entry><content>content_gxku6u0207</content></entry></data>

2020-09-16 23:45:36 | target: http://localhost:8088

2020-09-16 23:45:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 23:45:36 | entity: <data><node>node_txdhek0203</node><expire-at>2020-09-17T06:45:41Z</expire-at><entry><content>content_gxku6u0207</content></entry></data>

2020-09-16 23:45:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:45:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:45:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5133e781-d06b-415e-a862-3edfefab467b</value></item-id></result>

2020-09-16 23:45:36 | contains: true

2020-09-16 23:45:44 | [Mutex] waiting for: [user_regularop9t440202@test-domain.com:message:received:content_gxku6u0207]

2020-09-16 23:45:44 | [Mutex] waiting for: [user_regularop9t440202@test-domain.com:message:received:content_gxku6u0207]

2020-09-16 23:45:59 | [Mutex] timeout. Not received [user_regularop9t440202@test-domain.com:message:received:content_gxku6u0207]

2020-09-16 23:45:59 | [Mutex] received everything.

2020-09-16 23:45:59 | [Mutex] isItemNotified: user_regularop9t440202@test-domain.com:message:received:content_gxku6u0207 :: false

2020-09-16 23:45:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gxku6u0207 :: true