Generated by TestNG with ReportNG at 22:26 PDT on Monday 21 June 2021
root@f29ef40080b5 / 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.231s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2021-06-21 22:41:38 |

2021-06-21 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-21 22:41:38 | ------------------------------------

2021-06-21 22:41:38 | [Mutex] isItemNotified: node_75k6tu0203:exists :: false

2021-06-21 22:41:38 | [Mutex] waiting for: [node_75k6tu0203:create_node]

2021-06-21 22:41:38 | [Mutex] received everything.

2021-06-21 22:41:38 | [Mutex] isItemNotified: node_75k6tu0203:create_node:success :: true

2021-06-21 22:41:38 | [Mutex] waiting for: [node_75k6tu0203:subscribe_node]

2021-06-21 22:41:38 | [Mutex] received everything.

2021-06-21 22:41:38 | [Mutex] isItemNotified: node_75k6tu0203:subscribe_node:success :: true

2021-06-21 22:41:38 |


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


2021-06-21 22:41:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:41:38 | command: <data><node>node_75k6tu0203</node><entry><content>content_wfsmz70204</content></entry></data>

2021-06-21 22:41:38 | target: http://localhost:8088

2021-06-21 22:41:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-21 22:41:38 | entity: <data><node>node_75k6tu0203</node><entry><content>content_wfsmz70204</content></entry></data>

2021-06-21 22:41:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:41:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:41:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e198e6f0-3dad-4a28-a142-8dafcbcf162f</value></item-id></result>

2021-06-21 22:41:38 | contains: true

2021-06-21 22:41:38 | [Mutex] received everything.

2021-06-21 22:41:38 | [Mutex] isItemNotified: user_regularqvna5g0202@test-domain.com:message:received:content_wfsmz70204 :: true

2021-06-21 22:41:38 |


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


2021-06-21 22:41:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:41:38 | command: <data><node>node_75k6tu0203</node><expire-at>2021-06-22T05:41:33Z</expire-at><entry><content>content_hs6gb60205</content></entry></data>

2021-06-21 22:41:38 | target: http://localhost:8088

2021-06-21 22:41:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-21 22:41:38 | entity: <data><node>node_75k6tu0203</node><expire-at>2021-06-22T05:41:33Z</expire-at><entry><content>content_hs6gb60205</content></entry></data>

2021-06-21 22:41:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:41:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:41:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>923e5fbf-91b7-4148-968e-a0352970f357</value></item-id></result>

2021-06-21 22:41:38 | contains: true

2021-06-21 22:41:38 | [Mutex] waiting for: [user_regularqvna5g0202@test-domain.com:message:received:content_hs6gb60205]

2021-06-21 22:41:53 | [Mutex] timeout. Not received [user_regularqvna5g0202@test-domain.com:message:received:content_hs6gb60205]

2021-06-21 22:41:53 | [Mutex] isItemNotified: user_regularqvna5g0202@test-domain.com:message:received:content_hs6gb60205 :: false

2021-06-21 22:41:53 |


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


2021-06-21 22:41:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:41:53 | command: <data><node>node_75k6tu0203</node><entry><content>content_c8r8cw0206</content></entry></data>

2021-06-21 22:41:53 | target: http://localhost:8088

2021-06-21 22:41:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-21 22:41:53 | entity: <data><node>node_75k6tu0203</node><entry><content>content_c8r8cw0206</content></entry></data>

2021-06-21 22:41:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:41:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:41:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d314a297-ec56-4e47-a77d-dcad3ab80a86</value></item-id></result>

2021-06-21 22:41:53 | contains: true

2021-06-21 22:41:59 | [Mutex] waiting for: [user_regularqvna5g0202@test-domain.com:message:received:content_c8r8cw0206]

2021-06-21 22:41:59 | [Mutex] waiting for: [user_regularqvna5g0202@test-domain.com:message:received:content_c8r8cw0206]

2021-06-21 22:41:59 | [Mutex] received everything.

2021-06-21 22:41:59 | [Mutex] isItemNotified: user_regularqvna5g0202@test-domain.com:message:received:content_c8r8cw0206 :: true

2021-06-21 22:41:59 |


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


2021-06-21 22:41:59 | [Mutex] received everything.

2021-06-21 22:41:59 | [Mutex] isItemNotified: node_75k6tu0203:subscribe_node:success :: true

2021-06-21 22:41:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:41:59 | command: <data><node>node_75k6tu0203</node><expire-at>2021-06-22T05:42:04Z</expire-at><entry><content>content_srjuer0207</content></entry></data>

2021-06-21 22:41:59 | target: http://localhost:8088

2021-06-21 22:41:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-21 22:41:59 | entity: <data><node>node_75k6tu0203</node><expire-at>2021-06-22T05:42:04Z</expire-at><entry><content>content_srjuer0207</content></entry></data>

2021-06-21 22:41:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:41:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:41:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2df5e268-5292-43de-8dc7-3bff83f53e8a</value></item-id></result>

2021-06-21 22:41:59 | contains: true

2021-06-21 22:42:07 | [Mutex] waiting for: [user_regularqvna5g0202@test-domain.com:message:received:content_srjuer0207]

2021-06-21 22:42:07 | [Mutex] waiting for: [user_regularqvna5g0202@test-domain.com:message:received:content_srjuer0207]

2021-06-21 22:42:22 | [Mutex] timeout. Not received [user_regularqvna5g0202@test-domain.com:message:received:content_srjuer0207]

2021-06-21 22:42:22 | [Mutex] received everything.

2021-06-21 22:42:22 | [Mutex] isItemNotified: user_regularqvna5g0202@test-domain.com:message:received:content_srjuer0207 :: false

2021-06-21 22:42:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_srjuer0207 :: true