Generated by TestNG with ReportNG at 21:44 PST on Tuesday 02 February 2021
root@87f6aca6b6f2 / 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.344s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.703s
2021-02-02 22:01:07 |

2021-02-02 22:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-02 22:01:07 | ------------------------------------

2021-02-02 22:01:07 | [Mutex] isItemNotified: node_j9u36w0203:exists :: false

2021-02-02 22:01:07 | [Mutex] waiting for: [node_j9u36w0203:create_node]

2021-02-02 22:01:07 | [Mutex] received everything.

2021-02-02 22:01:07 | [Mutex] isItemNotified: node_j9u36w0203:create_node:success :: true

2021-02-02 22:01:07 | [Mutex] waiting for: [node_j9u36w0203:subscribe_node]

2021-02-02 22:01:07 | [Mutex] received everything.

2021-02-02 22:01:07 | [Mutex] isItemNotified: node_j9u36w0203:subscribe_node:success :: true

2021-02-02 22:01:07 |


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


2021-02-02 22:01:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 22:01:07 | command: <data><node>node_j9u36w0203</node><entry><content>content_48t6o80204</content></entry></data>

2021-02-02 22:01:07 | target: http://localhost:8088

2021-02-02 22:01:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 22:01:07 | entity: <data><node>node_j9u36w0203</node><entry><content>content_48t6o80204</content></entry></data>

2021-02-02 22:01:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 06:01:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 22:01:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>790b75b2-56a9-48b0-b99b-a100a0a2de54</value></item-id></result>

2021-02-02 22:01:07 | contains: true

2021-02-02 22:01:07 | [Mutex] received everything.

2021-02-02 22:01:07 | [Mutex] isItemNotified: user_regular91gi3s0202@test-domain.com:message:received:content_48t6o80204 :: true

2021-02-02 22:01:07 |


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


2021-02-02 22:01:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 22:01:07 | command: <data><node>node_j9u36w0203</node><expire-at>2021-02-03T06:01:02Z</expire-at><entry><content>content_q5vu7h0205</content></entry></data>

2021-02-02 22:01:07 | target: http://localhost:8088

2021-02-02 22:01:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 22:01:07 | entity: <data><node>node_j9u36w0203</node><expire-at>2021-02-03T06:01:02Z</expire-at><entry><content>content_q5vu7h0205</content></entry></data>

2021-02-02 22:01:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 06:01:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 22:01:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>202183ba-0a24-4b3d-b607-c149257c92a7</value></item-id></result>

2021-02-02 22:01:07 | contains: true

2021-02-02 22:01:07 | [Mutex] waiting for: [user_regular91gi3s0202@test-domain.com:message:received:content_q5vu7h0205]

2021-02-02 22:01:22 | [Mutex] timeout. Not received [user_regular91gi3s0202@test-domain.com:message:received:content_q5vu7h0205]

2021-02-02 22:01:22 | [Mutex] isItemNotified: user_regular91gi3s0202@test-domain.com:message:received:content_q5vu7h0205 :: false

2021-02-02 22:01:22 |


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


2021-02-02 22:01:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 22:01:22 | command: <data><node>node_j9u36w0203</node><entry><content>content_59un890206</content></entry></data>

2021-02-02 22:01:22 | target: http://localhost:8088

2021-02-02 22:01:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 22:01:22 | entity: <data><node>node_j9u36w0203</node><entry><content>content_59un890206</content></entry></data>

2021-02-02 22:01:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 06:01:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 22:01:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd769fcd-389a-43f6-96f4-21a158e95d94</value></item-id></result>

2021-02-02 22:01:22 | contains: true

2021-02-02 22:01:27 | [Mutex] waiting for: [user_regular91gi3s0202@test-domain.com:message:received:content_59un890206]

2021-02-02 22:01:27 | [Mutex] waiting for: [user_regular91gi3s0202@test-domain.com:message:received:content_59un890206]

2021-02-02 22:01:27 | [Mutex] received everything.

2021-02-02 22:01:27 | [Mutex] isItemNotified: user_regular91gi3s0202@test-domain.com:message:received:content_59un890206 :: true

2021-02-02 22:01:27 |


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


2021-02-02 22:01:27 | [Mutex] received everything.

2021-02-02 22:01:27 | [Mutex] isItemNotified: node_j9u36w0203:subscribe_node:success :: true

2021-02-02 22:01:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 22:01:27 | command: <data><node>node_j9u36w0203</node><expire-at>2021-02-03T06:01:32Z</expire-at><entry><content>content_oyyepn0207</content></entry></data>

2021-02-02 22:01:27 | target: http://localhost:8088

2021-02-02 22:01:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 22:01:27 | entity: <data><node>node_j9u36w0203</node><expire-at>2021-02-03T06:01:32Z</expire-at><entry><content>content_oyyepn0207</content></entry></data>

2021-02-02 22:01:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 06:01:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 22:01:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e387e9da-095d-4e42-ba3e-0dc215a7d3ee</value></item-id></result>

2021-02-02 22:01:27 | contains: true

2021-02-02 22:01:36 | [Mutex] waiting for: [user_regular91gi3s0202@test-domain.com:message:received:content_oyyepn0207]

2021-02-02 22:01:51 | [Mutex] timeout. Not received [user_regular91gi3s0202@test-domain.com:message:received:content_oyyepn0207]

2021-02-02 22:01:51 | [Mutex] received everything.

2021-02-02 22:01:51 | [Mutex] isItemNotified: user_regular91gi3s0202@test-domain.com:message:received:content_oyyepn0207 :: false

2021-02-02 22:01:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oyyepn0207 :: true