Generated by TestNG with ReportNG at 07:43 PDT on Friday 25 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.536s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.738s
2021-06-25 08:00:37 |

2021-06-25 08:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-25 08:00:37 | ------------------------------------

2021-06-25 08:00:37 | [Mutex] isItemNotified: node_8s1i8q0203:exists :: false

2021-06-25 08:00:37 | [Mutex] waiting for: [node_8s1i8q0203:create_node]

2021-06-25 08:00:38 | [Mutex] received everything.

2021-06-25 08:00:38 | [Mutex] isItemNotified: node_8s1i8q0203:create_node:success :: true

2021-06-25 08:00:38 | [Mutex] waiting for: [node_8s1i8q0203:subscribe_node]

2021-06-25 08:00:38 | [Mutex] waiting for: [node_8s1i8q0203:subscribe_node]

2021-06-25 08:00:38 | [Mutex] received everything.

2021-06-25 08:00:38 | [Mutex] isItemNotified: node_8s1i8q0203:subscribe_node:success :: true

2021-06-25 08:00:38 |


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


2021-06-25 08:00:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:00:38 | command: <data><node>node_8s1i8q0203</node><entry><content>content_xjhotr0204</content></entry></data>

2021-06-25 08:00:38 | target: http://localhost:8088

2021-06-25 08:00:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-25 08:00:38 | entity: <data><node>node_8s1i8q0203</node><entry><content>content_xjhotr0204</content></entry></data>

2021-06-25 08:00:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:00:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:00:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9be9dddc-1caf-41ff-8fbc-375af9316f92</value></item-id></result>

2021-06-25 08:00:38 | contains: true

2021-06-25 08:00:38 | [Mutex] received everything.

2021-06-25 08:00:38 | [Mutex] isItemNotified: user_regularg4boal0202@test-domain.com:message:received:content_xjhotr0204 :: true

2021-06-25 08:00:38 |


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


2021-06-25 08:00:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:00:38 | command: <data><node>node_8s1i8q0203</node><expire-at>2021-06-25T15:00:33Z</expire-at><entry><content>content_lmyej0205</content></entry></data>

2021-06-25 08:00:38 | target: http://localhost:8088

2021-06-25 08:00:38 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-06-25 08:00:38 | entity: <data><node>node_8s1i8q0203</node><expire-at>2021-06-25T15:00:33Z</expire-at><entry><content>content_lmyej0205</content></entry></data>

2021-06-25 08:00:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:00:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:00:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>935059fc-1fab-492b-a39c-766ddbd737dc</value></item-id></result>

2021-06-25 08:00:38 | contains: true

2021-06-25 08:00:38 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_lmyej0205]

2021-06-25 08:00:53 | [Mutex] timeout. Not received [user_regularg4boal0202@test-domain.com:message:received:content_lmyej0205]

2021-06-25 08:00:53 | [Mutex] isItemNotified: user_regularg4boal0202@test-domain.com:message:received:content_lmyej0205 :: false

2021-06-25 08:00:53 |


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


2021-06-25 08:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:00:53 | command: <data><node>node_8s1i8q0203</node><entry><content>content_4orv4y0206</content></entry></data>

2021-06-25 08:00:53 | target: http://localhost:8088

2021-06-25 08:00:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-25 08:00:53 | entity: <data><node>node_8s1i8q0203</node><entry><content>content_4orv4y0206</content></entry></data>

2021-06-25 08:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1b51e9f-507d-4d20-a54d-6d74da95696e</value></item-id></result>

2021-06-25 08:00:53 | contains: true

2021-06-25 08:00:58 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_4orv4y0206]

2021-06-25 08:00:58 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_4orv4y0206]

2021-06-25 08:00:58 | [Mutex] received everything.

2021-06-25 08:00:58 | [Mutex] isItemNotified: user_regularg4boal0202@test-domain.com:message:received:content_4orv4y0206 :: true

2021-06-25 08:00:58 |


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


2021-06-25 08:00:58 | [Mutex] received everything.

2021-06-25 08:00:58 | [Mutex] isItemNotified: node_8s1i8q0203:subscribe_node:success :: true

2021-06-25 08:00:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:00:58 | command: <data><node>node_8s1i8q0203</node><expire-at>2021-06-25T15:01:03Z</expire-at><entry><content>content_j8dpwf0207</content></entry></data>

2021-06-25 08:00:58 | target: http://localhost:8088

2021-06-25 08:00:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-25 08:00:58 | entity: <data><node>node_8s1i8q0203</node><expire-at>2021-06-25T15:01:03Z</expire-at><entry><content>content_j8dpwf0207</content></entry></data>

2021-06-25 08:00:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:00:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:00:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d23b9702-63c7-49d0-a44f-3f53b132fa7a</value></item-id></result>

2021-06-25 08:00:58 | contains: true

2021-06-25 08:01:06 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_j8dpwf0207]

2021-06-25 08:01:06 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_j8dpwf0207]

2021-06-25 08:01:06 | [Mutex] waiting for: [user_regularg4boal0202@test-domain.com:message:received:content_j8dpwf0207]

2021-06-25 08:01:21 | [Mutex] timeout. Not received [user_regularg4boal0202@test-domain.com:message:received:content_j8dpwf0207]

2021-06-25 08:01:21 | [Mutex] received everything.

2021-06-25 08:01:21 | [Mutex] isItemNotified: user_regularg4boal0202@test-domain.com:message:received:content_j8dpwf0207 :: false

2021-06-25 08:01:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j8dpwf0207 :: true