Generated by TestNG with ReportNG at 22:43 PDT on Tuesday 25 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.645s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.708s
2021-05-25 22:59:23 |

2021-05-25 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-25 22:59:23 | ------------------------------------

2021-05-25 22:59:23 | [Mutex] isItemNotified: node_ah3hid0203:exists :: false

2021-05-25 22:59:23 | [Mutex] waiting for: [node_ah3hid0203:create_node]

2021-05-25 22:59:23 | [Mutex] received everything.

2021-05-25 22:59:23 | [Mutex] isItemNotified: node_ah3hid0203:create_node:success :: true

2021-05-25 22:59:23 | [Mutex] waiting for: [node_ah3hid0203:subscribe_node]

2021-05-25 22:59:23 | [Mutex] waiting for: [node_ah3hid0203:subscribe_node]

2021-05-25 22:59:23 | [Mutex] received everything.

2021-05-25 22:59:23 | [Mutex] isItemNotified: node_ah3hid0203:subscribe_node:success :: true

2021-05-25 22:59:23 |


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


2021-05-25 22:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:59:23 | command: <data><node>node_ah3hid0203</node><entry><content>content_40qegd0204</content></entry></data>

2021-05-25 22:59:23 | target: http://localhost:8088

2021-05-25 22:59:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-25 22:59:23 | entity: <data><node>node_ah3hid0203</node><entry><content>content_40qegd0204</content></entry></data>

2021-05-25 22:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0309d3cd-cc37-401f-b02f-cd1e5a4dd713</value></item-id></result>

2021-05-25 22:59:23 | contains: true

2021-05-25 22:59:23 | [Mutex] waiting for: [user_regularj8twtq0202@test-domain.com:message:received:content_40qegd0204]

2021-05-25 22:59:23 | [Mutex] received everything.

2021-05-25 22:59:23 | [Mutex] isItemNotified: user_regularj8twtq0202@test-domain.com:message:received:content_40qegd0204 :: true

2021-05-25 22:59:23 |


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


2021-05-25 22:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:59:23 | command: <data><node>node_ah3hid0203</node><expire-at>2021-05-26T05:59:18Z</expire-at><entry><content>content_21jzre0205</content></entry></data>

2021-05-25 22:59:23 | target: http://localhost:8088

2021-05-25 22:59:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-25 22:59:23 | entity: <data><node>node_ah3hid0203</node><expire-at>2021-05-26T05:59:18Z</expire-at><entry><content>content_21jzre0205</content></entry></data>

2021-05-25 22:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0b136ac-89ad-43b7-80cd-485c51488ed0</value></item-id></result>

2021-05-25 22:59:23 | contains: true

2021-05-25 22:59:23 | [Mutex] waiting for: [user_regularj8twtq0202@test-domain.com:message:received:content_21jzre0205]

2021-05-25 22:59:38 | [Mutex] timeout. Not received [user_regularj8twtq0202@test-domain.com:message:received:content_21jzre0205]

2021-05-25 22:59:38 | [Mutex] isItemNotified: user_regularj8twtq0202@test-domain.com:message:received:content_21jzre0205 :: false

2021-05-25 22:59:38 |


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


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

2021-05-25 22:59:38 | command: <data><node>node_ah3hid0203</node><entry><content>content_oxvu8h0206</content></entry></data>

2021-05-25 22:59:38 | target: http://localhost:8088

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

2021-05-25 22:59:38 | entity: <data><node>node_ah3hid0203</node><entry><content>content_oxvu8h0206</content></entry></data>

2021-05-25 22:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f052cda8-98ad-4534-a7fb-67e69d89b038</value></item-id></result>

2021-05-25 22:59:38 | contains: true

2021-05-25 22:59:44 | [Mutex] waiting for: [user_regularj8twtq0202@test-domain.com:message:received:content_oxvu8h0206]

2021-05-25 22:59:44 | [Mutex] received everything.

2021-05-25 22:59:44 | [Mutex] isItemNotified: user_regularj8twtq0202@test-domain.com:message:received:content_oxvu8h0206 :: true

2021-05-25 22:59:44 |


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


2021-05-25 22:59:44 | [Mutex] received everything.

2021-05-25 22:59:44 | [Mutex] isItemNotified: node_ah3hid0203:subscribe_node:success :: true

2021-05-25 22:59:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:59:44 | command: <data><node>node_ah3hid0203</node><expire-at>2021-05-26T05:59:49Z</expire-at><entry><content>content_bbkanp0207</content></entry></data>

2021-05-25 22:59:44 | target: http://localhost:8088

2021-05-25 22:59:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-25 22:59:44 | entity: <data><node>node_ah3hid0203</node><expire-at>2021-05-26T05:59:49Z</expire-at><entry><content>content_bbkanp0207</content></entry></data>

2021-05-25 22:59:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:59:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:59:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af2e11a4-c6fc-40bb-bdf6-4a4ac1eb3a36</value></item-id></result>

2021-05-25 22:59:44 | contains: true

2021-05-25 22:59:52 | [Mutex] waiting for: [user_regularj8twtq0202@test-domain.com:message:received:content_bbkanp0207]

2021-05-25 23:00:07 | [Mutex] timeout. Not received [user_regularj8twtq0202@test-domain.com:message:received:content_bbkanp0207]

2021-05-25 23:00:07 | [Mutex] received everything.

2021-05-25 23:00:07 | [Mutex] isItemNotified: user_regularj8twtq0202@test-domain.com:message:received:content_bbkanp0207 :: false

2021-05-25 23:00:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bbkanp0207 :: true