Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 26 May 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.540s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.717s
2021-05-26 22:31:04 |

2021-05-26 22:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-26 22:31:04 | ------------------------------------

2021-05-26 22:31:04 | [Mutex] isItemNotified: node_ffc6ts0203:exists :: false

2021-05-26 22:31:04 | [Mutex] waiting for: [node_ffc6ts0203:create_node]

2021-05-26 22:31:04 | [Mutex] received everything.

2021-05-26 22:31:04 | [Mutex] isItemNotified: node_ffc6ts0203:create_node:success :: true

2021-05-26 22:31:04 | [Mutex] waiting for: [node_ffc6ts0203:subscribe_node]

2021-05-26 22:31:04 | [Mutex] waiting for: [node_ffc6ts0203:subscribe_node]

2021-05-26 22:31:04 | [Mutex] received everything.

2021-05-26 22:31:04 | [Mutex] isItemNotified: node_ffc6ts0203:subscribe_node:success :: true

2021-05-26 22:31:04 |


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


2021-05-26 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:31:04 | command: <data><node>node_ffc6ts0203</node><entry><content>content_vl1lei0204</content></entry></data>

2021-05-26 22:31:04 | target: http://localhost:8088

2021-05-26 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 22:31:04 | entity: <data><node>node_ffc6ts0203</node><entry><content>content_vl1lei0204</content></entry></data>

2021-05-26 22:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7af03ce5-c1a3-4c62-8a79-1f006fcf0904</value></item-id></result>

2021-05-26 22:31:04 | contains: true

2021-05-26 22:31:04 | [Mutex] received everything.

2021-05-26 22:31:04 | [Mutex] isItemNotified: user_regularp93fze0202@test-domain.com:message:received:content_vl1lei0204 :: true

2021-05-26 22:31:04 |


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


2021-05-26 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:31:04 | command: <data><node>node_ffc6ts0203</node><expire-at>2021-05-27T05:30:59Z</expire-at><entry><content>content_ps3yg50205</content></entry></data>

2021-05-26 22:31:04 | target: http://localhost:8088

2021-05-26 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-26 22:31:04 | entity: <data><node>node_ffc6ts0203</node><expire-at>2021-05-27T05:30:59Z</expire-at><entry><content>content_ps3yg50205</content></entry></data>

2021-05-26 22:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d31dd0f7-8989-4e80-80a9-e26b41e47b06</value></item-id></result>

2021-05-26 22:31:04 | contains: true

2021-05-26 22:31:04 | [Mutex] waiting for: [user_regularp93fze0202@test-domain.com:message:received:content_ps3yg50205]

2021-05-26 22:31:19 | [Mutex] timeout. Not received [user_regularp93fze0202@test-domain.com:message:received:content_ps3yg50205]

2021-05-26 22:31:19 | [Mutex] isItemNotified: user_regularp93fze0202@test-domain.com:message:received:content_ps3yg50205 :: false

2021-05-26 22:31:19 |


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


2021-05-26 22:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:31:19 | command: <data><node>node_ffc6ts0203</node><entry><content>content_y954i40206</content></entry></data>

2021-05-26 22:31:19 | target: http://localhost:8088

2021-05-26 22:31:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-26 22:31:19 | entity: <data><node>node_ffc6ts0203</node><entry><content>content_y954i40206</content></entry></data>

2021-05-26 22:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36210b3b-57af-445c-9196-ffdfc781dc8c</value></item-id></result>

2021-05-26 22:31:19 | contains: true

2021-05-26 22:31:24 | [Mutex] waiting for: [user_regularp93fze0202@test-domain.com:message:received:content_y954i40206]

2021-05-26 22:31:24 | [Mutex] received everything.

2021-05-26 22:31:24 | [Mutex] isItemNotified: user_regularp93fze0202@test-domain.com:message:received:content_y954i40206 :: true

2021-05-26 22:31:24 |


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


2021-05-26 22:31:24 | [Mutex] received everything.

2021-05-26 22:31:24 | [Mutex] isItemNotified: node_ffc6ts0203:subscribe_node:success :: true

2021-05-26 22:31:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-26 22:31:24 | command: <data><node>node_ffc6ts0203</node><expire-at>2021-05-27T05:31:29Z</expire-at><entry><content>content_iqx5fs0207</content></entry></data>

2021-05-26 22:31:24 | target: http://localhost:8088

2021-05-26 22:31:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-26 22:31:24 | entity: <data><node>node_ffc6ts0203</node><expire-at>2021-05-27T05:31:29Z</expire-at><entry><content>content_iqx5fs0207</content></entry></data>

2021-05-26 22:31:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 05:31:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-26 22:31:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac223b1d-75d4-4f79-8e6e-9468d3282cae</value></item-id></result>

2021-05-26 22:31:24 | contains: true

2021-05-26 22:31:33 | [Mutex] waiting for: [user_regularp93fze0202@test-domain.com:message:received:content_iqx5fs0207]

2021-05-26 22:31:33 | [Mutex] waiting for: [user_regularp93fze0202@test-domain.com:message:received:content_iqx5fs0207]

2021-05-26 22:31:48 | [Mutex] timeout. Not received [user_regularp93fze0202@test-domain.com:message:received:content_iqx5fs0207]

2021-05-26 22:31:48 | [Mutex] received everything.

2021-05-26 22:31:48 | [Mutex] isItemNotified: user_regularp93fze0202@test-domain.com:message:received:content_iqx5fs0207 :: false

2021-05-26 22:31:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iqx5fs0207 :: true