Generated by TestNG with ReportNG at 22:23 PDT on Thursday 27 May 2021
root@b2c2a8eba6e6 / 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.520s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.663s
2021-05-27 22:38:21 |

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

2021-05-27 22:38:21 | ------------------------------------

2021-05-27 22:38:21 | [Mutex] isItemNotified: node_g8v8ad0203:exists :: false

2021-05-27 22:38:21 | [Mutex] waiting for: [node_g8v8ad0203:create_node]

2021-05-27 22:38:21 | [Mutex] received everything.

2021-05-27 22:38:21 | [Mutex] isItemNotified: node_g8v8ad0203:create_node:success :: true

2021-05-27 22:38:21 | [Mutex] waiting for: [node_g8v8ad0203:subscribe_node]

2021-05-27 22:38:21 | [Mutex] received everything.

2021-05-27 22:38:21 | [Mutex] isItemNotified: node_g8v8ad0203:subscribe_node:success :: true

2021-05-27 22:38:21 |


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


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

2021-05-27 22:38:21 | command: <data><node>node_g8v8ad0203</node><entry><content>content_qoga1a0204</content></entry></data>

2021-05-27 22:38:21 | target: http://localhost:8088

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

2021-05-27 22:38:21 | entity: <data><node>node_g8v8ad0203</node><entry><content>content_qoga1a0204</content></entry></data>

2021-05-27 22:38:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:38:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:38:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00243478-0cb8-4dbc-b557-5d3271a3c6d2</value></item-id></result>

2021-05-27 22:38:21 | contains: true

2021-05-27 22:38:21 | [Mutex] received everything.

2021-05-27 22:38:21 | [Mutex] isItemNotified: user_regulark2wybx0202@test-domain.com:message:received:content_qoga1a0204 :: true

2021-05-27 22:38:21 |


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


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

2021-05-27 22:38:21 | command: <data><node>node_g8v8ad0203</node><expire-at>2021-05-28T05:38:16Z</expire-at><entry><content>content_e9kcu80205</content></entry></data>

2021-05-27 22:38:21 | target: http://localhost:8088

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

2021-05-27 22:38:21 | entity: <data><node>node_g8v8ad0203</node><expire-at>2021-05-28T05:38:16Z</expire-at><entry><content>content_e9kcu80205</content></entry></data>

2021-05-27 22:38:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:38:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:38:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b64531a5-d479-4e6d-9d48-8daeac407fb8</value></item-id></result>

2021-05-27 22:38:21 | contains: true

2021-05-27 22:38:21 | [Mutex] waiting for: [user_regulark2wybx0202@test-domain.com:message:received:content_e9kcu80205]

2021-05-27 22:38:36 | [Mutex] timeout. Not received [user_regulark2wybx0202@test-domain.com:message:received:content_e9kcu80205]

2021-05-27 22:38:36 | [Mutex] isItemNotified: user_regulark2wybx0202@test-domain.com:message:received:content_e9kcu80205 :: false

2021-05-27 22:38:36 |


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


2021-05-27 22:38:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 22:38:36 | command: <data><node>node_g8v8ad0203</node><entry><content>content_4c5jg20206</content></entry></data>

2021-05-27 22:38:36 | target: http://localhost:8088

2021-05-27 22:38:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 22:38:36 | entity: <data><node>node_g8v8ad0203</node><entry><content>content_4c5jg20206</content></entry></data>

2021-05-27 22:38:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:38:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:38:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1fd2dd22-91f3-4db9-97ac-267bf692cc43</value></item-id></result>

2021-05-27 22:38:36 | contains: true

2021-05-27 22:38:41 | [Mutex] waiting for: [user_regulark2wybx0202@test-domain.com:message:received:content_4c5jg20206]

2021-05-27 22:38:41 | [Mutex] waiting for: [user_regulark2wybx0202@test-domain.com:message:received:content_4c5jg20206]

2021-05-27 22:38:41 | [Mutex] received everything.

2021-05-27 22:38:41 | [Mutex] isItemNotified: user_regulark2wybx0202@test-domain.com:message:received:content_4c5jg20206 :: true

2021-05-27 22:38:41 |


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


2021-05-27 22:38:41 | [Mutex] received everything.

2021-05-27 22:38:41 | [Mutex] isItemNotified: node_g8v8ad0203:subscribe_node:success :: true

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

2021-05-27 22:38:41 | command: <data><node>node_g8v8ad0203</node><expire-at>2021-05-28T05:38:46Z</expire-at><entry><content>content_vegan00207</content></entry></data>

2021-05-27 22:38:41 | target: http://localhost:8088

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

2021-05-27 22:38:41 | entity: <data><node>node_g8v8ad0203</node><expire-at>2021-05-28T05:38:46Z</expire-at><entry><content>content_vegan00207</content></entry></data>

2021-05-27 22:38:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:38:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:38:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c65df365-0ca0-4f9e-8c2c-afa55f01ae56</value></item-id></result>

2021-05-27 22:38:41 | contains: true

2021-05-27 22:38:50 | [Mutex] waiting for: [user_regulark2wybx0202@test-domain.com:message:received:content_vegan00207]

2021-05-27 22:39:05 | [Mutex] timeout. Not received [user_regulark2wybx0202@test-domain.com:message:received:content_vegan00207]

2021-05-27 22:39:05 | [Mutex] received everything.

2021-05-27 22:39:05 | [Mutex] isItemNotified: user_regulark2wybx0202@test-domain.com:message:received:content_vegan00207 :: false

2021-05-27 22:39:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vegan00207 :: true