Generated by TestNG with ReportNG at 22:49 PDT on Thursday 06 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.136s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.696s
2021-05-06 23:04:28 |

2021-05-06 23:04:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-06 23:04:28 | ------------------------------------

2021-05-06 23:04:28 | [Mutex] isItemNotified: node_pxh5ka0203:exists :: false

2021-05-06 23:04:28 | [Mutex] waiting for: [node_pxh5ka0203:create_node]

2021-05-06 23:04:28 | [Mutex] received everything.

2021-05-06 23:04:28 | [Mutex] isItemNotified: node_pxh5ka0203:create_node:success :: true

2021-05-06 23:04:28 | [Mutex] waiting for: [node_pxh5ka0203:subscribe_node]

2021-05-06 23:04:28 | [Mutex] received everything.

2021-05-06 23:04:28 | [Mutex] isItemNotified: node_pxh5ka0203:subscribe_node:success :: true

2021-05-06 23:04:28 |


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


2021-05-06 23:04:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 23:04:28 | command: <data><node>node_pxh5ka0203</node><entry><content>content_h9pfsv0204</content></entry></data>

2021-05-06 23:04:28 | target: http://localhost:8088

2021-05-06 23:04:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-06 23:04:28 | entity: <data><node>node_pxh5ka0203</node><entry><content>content_h9pfsv0204</content></entry></data>

2021-05-06 23:04:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:04:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 23:04:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6986a8e5-33ca-480e-a1db-4ace9bf6c62f</value></item-id></result>

2021-05-06 23:04:28 | contains: true

2021-05-06 23:04:28 | [Mutex] waiting for: [user_regular262xsc0202@test-domain.com:message:received:content_h9pfsv0204]

2021-05-06 23:04:28 | [Mutex] received everything.

2021-05-06 23:04:28 | [Mutex] isItemNotified: user_regular262xsc0202@test-domain.com:message:received:content_h9pfsv0204 :: true

2021-05-06 23:04:28 |


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


2021-05-06 23:04:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 23:04:28 | command: <data><node>node_pxh5ka0203</node><expire-at>2021-05-07T06:04:23Z</expire-at><entry><content>content_eq9h2l0205</content></entry></data>

2021-05-06 23:04:28 | target: http://localhost:8088

2021-05-06 23:04:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-06 23:04:28 | entity: <data><node>node_pxh5ka0203</node><expire-at>2021-05-07T06:04:23Z</expire-at><entry><content>content_eq9h2l0205</content></entry></data>

2021-05-06 23:04:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:04:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 23:04:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f4c2f5a-d71e-4941-a07a-1a4233823bcf</value></item-id></result>

2021-05-06 23:04:28 | contains: true

2021-05-06 23:04:28 | [Mutex] waiting for: [user_regular262xsc0202@test-domain.com:message:received:content_eq9h2l0205]

2021-05-06 23:04:43 | [Mutex] timeout. Not received [user_regular262xsc0202@test-domain.com:message:received:content_eq9h2l0205]

2021-05-06 23:04:43 | [Mutex] isItemNotified: user_regular262xsc0202@test-domain.com:message:received:content_eq9h2l0205 :: false

2021-05-06 23:04:43 |


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


2021-05-06 23:04:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 23:04:43 | command: <data><node>node_pxh5ka0203</node><entry><content>content_z4rff10206</content></entry></data>

2021-05-06 23:04:43 | target: http://localhost:8088

2021-05-06 23:04:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-06 23:04:43 | entity: <data><node>node_pxh5ka0203</node><entry><content>content_z4rff10206</content></entry></data>

2021-05-06 23:04:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:04:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 23:04:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a4317eb-3640-4cb5-876f-628b9127ecdb</value></item-id></result>

2021-05-06 23:04:43 | contains: true

2021-05-06 23:04:48 | [Mutex] waiting for: [user_regular262xsc0202@test-domain.com:message:received:content_z4rff10206]

2021-05-06 23:04:48 | [Mutex] received everything.

2021-05-06 23:04:48 | [Mutex] isItemNotified: user_regular262xsc0202@test-domain.com:message:received:content_z4rff10206 :: true

2021-05-06 23:04:48 |


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


2021-05-06 23:04:48 | [Mutex] received everything.

2021-05-06 23:04:48 | [Mutex] isItemNotified: node_pxh5ka0203:subscribe_node:success :: true

2021-05-06 23:04:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 23:04:48 | command: <data><node>node_pxh5ka0203</node><expire-at>2021-05-07T06:04:53Z</expire-at><entry><content>content_5bswys0207</content></entry></data>

2021-05-06 23:04:48 | target: http://localhost:8088

2021-05-06 23:04:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-06 23:04:48 | entity: <data><node>node_pxh5ka0203</node><expire-at>2021-05-07T06:04:53Z</expire-at><entry><content>content_5bswys0207</content></entry></data>

2021-05-06 23:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 23:04:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>77b2f598-06c4-4efc-8c8f-ce49754a18a0</value></item-id></result>

2021-05-06 23:04:49 | contains: true

2021-05-06 23:04:57 | [Mutex] waiting for: [user_regular262xsc0202@test-domain.com:message:received:content_5bswys0207]

2021-05-06 23:04:57 | [Mutex] waiting for: [user_regular262xsc0202@test-domain.com:message:received:content_5bswys0207]

2021-05-06 23:05:12 | [Mutex] timeout. Not received [user_regular262xsc0202@test-domain.com:message:received:content_5bswys0207]

2021-05-06 23:05:12 | [Mutex] received everything.

2021-05-06 23:05:12 | [Mutex] isItemNotified: user_regular262xsc0202@test-domain.com:message:received:content_5bswys0207 :: false

2021-05-06 23:05:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5bswys0207 :: true