Generated by TestNG with ReportNG at 21:13 PST on Sunday 03 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.441s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2021-01-03 21:29:39 |

2021-01-03 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-03 21:29:39 | ------------------------------------

2021-01-03 21:29:39 | [Mutex] isItemNotified: node_9mipay0203:exists :: false

2021-01-03 21:29:39 | [Mutex] waiting for: [node_9mipay0203:create_node]

2021-01-03 21:29:39 | [Mutex] waiting for: [node_9mipay0203:create_node]

2021-01-03 21:29:39 | [Mutex] received everything.

2021-01-03 21:29:39 | [Mutex] isItemNotified: node_9mipay0203:create_node:success :: true

2021-01-03 21:29:39 | [Mutex] waiting for: [node_9mipay0203:subscribe_node]

2021-01-03 21:29:39 | [Mutex] waiting for: [node_9mipay0203:subscribe_node]

2021-01-03 21:29:39 | [Mutex] received everything.

2021-01-03 21:29:39 | [Mutex] isItemNotified: node_9mipay0203:subscribe_node:success :: true

2021-01-03 21:29:39 |


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


2021-01-03 21:29:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:29:39 | command: <data><node>node_9mipay0203</node><entry><content>content_olm6dl0204</content></entry></data>

2021-01-03 21:29:39 | target: http://localhost:8088

2021-01-03 21:29:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-03 21:29:39 | entity: <data><node>node_9mipay0203</node><entry><content>content_olm6dl0204</content></entry></data>

2021-01-03 21:29:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:29:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:29:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27cfba65-c027-471c-9437-3e8aea22f04a</value></item-id></result>

2021-01-03 21:29:39 | contains: true

2021-01-03 21:29:39 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_olm6dl0204]

2021-01-03 21:29:39 | [Mutex] received everything.

2021-01-03 21:29:39 | [Mutex] isItemNotified: user_regularjx3gu30202@test-domain.com:message:received:content_olm6dl0204 :: true

2021-01-03 21:29:39 |


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


2021-01-03 21:29:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:29:39 | command: <data><node>node_9mipay0203</node><expire-at>2021-01-04T05:29:34Z</expire-at><entry><content>content_12v12i0205</content></entry></data>

2021-01-03 21:29:39 | target: http://localhost:8088

2021-01-03 21:29:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-03 21:29:39 | entity: <data><node>node_9mipay0203</node><expire-at>2021-01-04T05:29:34Z</expire-at><entry><content>content_12v12i0205</content></entry></data>

2021-01-03 21:29:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:29:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:29:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d434d7db-e380-43f0-b615-37cf4a74873f</value></item-id></result>

2021-01-03 21:29:39 | contains: true

2021-01-03 21:29:39 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_12v12i0205]

2021-01-03 21:29:54 | [Mutex] timeout. Not received [user_regularjx3gu30202@test-domain.com:message:received:content_12v12i0205]

2021-01-03 21:29:54 | [Mutex] isItemNotified: user_regularjx3gu30202@test-domain.com:message:received:content_12v12i0205 :: false

2021-01-03 21:29:54 |


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


2021-01-03 21:29:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:29:54 | command: <data><node>node_9mipay0203</node><entry><content>content_d9z98c0206</content></entry></data>

2021-01-03 21:29:54 | target: http://localhost:8088

2021-01-03 21:29:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-03 21:29:54 | entity: <data><node>node_9mipay0203</node><entry><content>content_d9z98c0206</content></entry></data>

2021-01-03 21:29:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:29:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:29:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b42c9ccf-01f1-480c-840b-19fad4346255</value></item-id></result>

2021-01-03 21:29:54 | contains: true

2021-01-03 21:29:59 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_d9z98c0206]

2021-01-03 21:29:59 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_d9z98c0206]

2021-01-03 21:29:59 | [Mutex] received everything.

2021-01-03 21:29:59 | [Mutex] isItemNotified: user_regularjx3gu30202@test-domain.com:message:received:content_d9z98c0206 :: true

2021-01-03 21:29:59 |


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


2021-01-03 21:29:59 | [Mutex] received everything.

2021-01-03 21:29:59 | [Mutex] isItemNotified: node_9mipay0203:subscribe_node:success :: true

2021-01-03 21:29:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:29:59 | command: <data><node>node_9mipay0203</node><expire-at>2021-01-04T05:30:04Z</expire-at><entry><content>content_wzksdm0207</content></entry></data>

2021-01-03 21:29:59 | target: http://localhost:8088

2021-01-03 21:29:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-03 21:29:59 | entity: <data><node>node_9mipay0203</node><expire-at>2021-01-04T05:30:04Z</expire-at><entry><content>content_wzksdm0207</content></entry></data>

2021-01-03 21:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3b3056e-6cac-476f-80ea-c2acf29b778c</value></item-id></result>

2021-01-03 21:30:00 | contains: true

2021-01-03 21:30:08 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_wzksdm0207]

2021-01-03 21:30:08 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_wzksdm0207]

2021-01-03 21:30:08 | [Mutex] waiting for: [user_regularjx3gu30202@test-domain.com:message:received:content_wzksdm0207]

2021-01-03 21:30:23 | [Mutex] timeout. Not received [user_regularjx3gu30202@test-domain.com:message:received:content_wzksdm0207]

2021-01-03 21:30:23 | [Mutex] received everything.

2021-01-03 21:30:23 | [Mutex] isItemNotified: user_regularjx3gu30202@test-domain.com:message:received:content_wzksdm0207 :: false

2021-01-03 21:30:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wzksdm0207 :: true