Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 21 September 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.346s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.632s
2021-09-21 23:07:11 |

2021-09-21 23:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-21 23:07:11 | ------------------------------------

2021-09-21 23:07:11 | [Mutex] isItemNotified: node_6rkwq10203:exists :: false

2021-09-21 23:07:11 | [Mutex] waiting for: [node_6rkwq10203:create_node]

2021-09-21 23:07:11 | [Mutex] received everything.

2021-09-21 23:07:11 | [Mutex] isItemNotified: node_6rkwq10203:create_node:success :: true

2021-09-21 23:07:11 | [Mutex] waiting for: [node_6rkwq10203:subscribe_node]

2021-09-21 23:07:11 | [Mutex] waiting for: [node_6rkwq10203:subscribe_node]

2021-09-21 23:07:11 | [Mutex] received everything.

2021-09-21 23:07:11 | [Mutex] isItemNotified: node_6rkwq10203:subscribe_node:success :: true

2021-09-21 23:07:11 |


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


2021-09-21 23:07:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:07:11 | command: <data><node>node_6rkwq10203</node><entry><content>content_wadnwh0204</content></entry></data>

2021-09-21 23:07:11 | target: http://localhost:8088

2021-09-21 23:07:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 23:07:11 | entity: <data><node>node_6rkwq10203</node><entry><content>content_wadnwh0204</content></entry></data>

2021-09-21 23:07:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:07:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:07:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>169d9585-82fc-4ddf-9937-c3463414e83f</value></item-id></result>

2021-09-21 23:07:11 | contains: true

2021-09-21 23:07:11 | [Mutex] waiting for: [user_regularqqyuzp0202@test-domain.com:message:received:content_wadnwh0204]

2021-09-21 23:07:11 | [Mutex] received everything.

2021-09-21 23:07:11 | [Mutex] isItemNotified: user_regularqqyuzp0202@test-domain.com:message:received:content_wadnwh0204 :: true

2021-09-21 23:07:11 |


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


2021-09-21 23:07:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:07:11 | command: <data><node>node_6rkwq10203</node><expire-at>2021-09-22T06:07:06Z</expire-at><entry><content>content_hhq3wu0205</content></entry></data>

2021-09-21 23:07:11 | target: http://localhost:8088

2021-09-21 23:07:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 23:07:11 | entity: <data><node>node_6rkwq10203</node><expire-at>2021-09-22T06:07:06Z</expire-at><entry><content>content_hhq3wu0205</content></entry></data>

2021-09-21 23:07:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:07:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:07:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b89d6909-cf3a-4ead-b32d-8f035fcc7a07</value></item-id></result>

2021-09-21 23:07:11 | contains: true

2021-09-21 23:07:11 | [Mutex] waiting for: [user_regularqqyuzp0202@test-domain.com:message:received:content_hhq3wu0205]

2021-09-21 23:07:26 | [Mutex] timeout. Not received [user_regularqqyuzp0202@test-domain.com:message:received:content_hhq3wu0205]

2021-09-21 23:07:26 | [Mutex] isItemNotified: user_regularqqyuzp0202@test-domain.com:message:received:content_hhq3wu0205 :: false

2021-09-21 23:07:26 |


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


2021-09-21 23:07:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:07:26 | command: <data><node>node_6rkwq10203</node><entry><content>content_kq7tsg0206</content></entry></data>

2021-09-21 23:07:26 | target: http://localhost:8088

2021-09-21 23:07:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 23:07:26 | entity: <data><node>node_6rkwq10203</node><entry><content>content_kq7tsg0206</content></entry></data>

2021-09-21 23:07:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:07:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:07:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c81bed2-df2e-4cbf-a65a-60977d45fc0b</value></item-id></result>

2021-09-21 23:07:26 | contains: true

2021-09-21 23:07:31 | [Mutex] waiting for: [user_regularqqyuzp0202@test-domain.com:message:received:content_kq7tsg0206]

2021-09-21 23:07:31 | [Mutex] received everything.

2021-09-21 23:07:31 | [Mutex] isItemNotified: user_regularqqyuzp0202@test-domain.com:message:received:content_kq7tsg0206 :: true

2021-09-21 23:07:31 |


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


2021-09-21 23:07:31 | [Mutex] received everything.

2021-09-21 23:07:31 | [Mutex] isItemNotified: node_6rkwq10203:subscribe_node:success :: true

2021-09-21 23:07:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:07:31 | command: <data><node>node_6rkwq10203</node><expire-at>2021-09-22T06:07:36Z</expire-at><entry><content>content_t8kgd10207</content></entry></data>

2021-09-21 23:07:31 | target: http://localhost:8088

2021-09-21 23:07:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 23:07:31 | entity: <data><node>node_6rkwq10203</node><expire-at>2021-09-22T06:07:36Z</expire-at><entry><content>content_t8kgd10207</content></entry></data>

2021-09-21 23:07:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:07:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:07:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71ca8cf2-6607-420d-9726-f0d6b6bd557a</value></item-id></result>

2021-09-21 23:07:31 | contains: true

2021-09-21 23:07:39 | [Mutex] waiting for: [user_regularqqyuzp0202@test-domain.com:message:received:content_t8kgd10207]

2021-09-21 23:07:54 | [Mutex] timeout. Not received [user_regularqqyuzp0202@test-domain.com:message:received:content_t8kgd10207]

2021-09-21 23:07:54 | [Mutex] received everything.

2021-09-21 23:07:54 | [Mutex] isItemNotified: user_regularqqyuzp0202@test-domain.com:message:received:content_t8kgd10207 :: false

2021-09-21 23:07:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t8kgd10207 :: true