Generated by TestNG with ReportNG at 22:25 PDT on Sunday 11 October 2020
root@43fec6d4badf / 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.789s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.808s
2020-10-11 22:39:33 |

2020-10-11 22:39:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-11 22:39:33 | ------------------------------------

2020-10-11 22:39:33 | [Mutex] isItemNotified: node_ue8j680203:exists :: false

2020-10-11 22:39:33 | [Mutex] waiting for: [node_ue8j680203:create_node]

2020-10-11 22:39:33 | [Mutex] received everything.

2020-10-11 22:39:33 | [Mutex] isItemNotified: node_ue8j680203:create_node:success :: true

2020-10-11 22:39:33 | [Mutex] waiting for: [node_ue8j680203:subscribe_node]

2020-10-11 22:39:33 | [Mutex] received everything.

2020-10-11 22:39:33 | [Mutex] isItemNotified: node_ue8j680203:subscribe_node:success :: true

2020-10-11 22:39:33 |


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


2020-10-11 22:39:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:39:33 | command: <data><node>node_ue8j680203</node><entry><content>content_sbpdcf0204</content></entry></data>

2020-10-11 22:39:33 | target: http://localhost:8088

2020-10-11 22:39:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:39:33 | entity: <data><node>node_ue8j680203</node><entry><content>content_sbpdcf0204</content></entry></data>

2020-10-11 22:39:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:39:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:39:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8011eda-b0d9-42a5-87bf-58bee197b80d</value></item-id></result>

2020-10-11 22:39:33 | contains: true

2020-10-11 22:39:33 | [Mutex] received everything.

2020-10-11 22:39:33 | [Mutex] isItemNotified: user_regular1jixru0202@test-domain.com:message:received:content_sbpdcf0204 :: true

2020-10-11 22:39:33 |


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


2020-10-11 22:39:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:39:33 | command: <data><node>node_ue8j680203</node><expire-at>2020-10-12T05:39:28Z</expire-at><entry><content>content_f2bcl50205</content></entry></data>

2020-10-11 22:39:33 | target: http://localhost:8088

2020-10-11 22:39:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:39:33 | entity: <data><node>node_ue8j680203</node><expire-at>2020-10-12T05:39:28Z</expire-at><entry><content>content_f2bcl50205</content></entry></data>

2020-10-11 22:39:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:39:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:39:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9b2409b6-ec85-4cd2-a525-f64c7397e8ee</value></item-id></result>

2020-10-11 22:39:33 | contains: true

2020-10-11 22:39:33 | [Mutex] waiting for: [user_regular1jixru0202@test-domain.com:message:received:content_f2bcl50205]

2020-10-11 22:39:48 | [Mutex] timeout. Not received [user_regular1jixru0202@test-domain.com:message:received:content_f2bcl50205]

2020-10-11 22:39:48 | [Mutex] isItemNotified: user_regular1jixru0202@test-domain.com:message:received:content_f2bcl50205 :: false

2020-10-11 22:39:48 |


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


2020-10-11 22:39:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:39:48 | command: <data><node>node_ue8j680203</node><entry><content>content_6mah8c0206</content></entry></data>

2020-10-11 22:39:48 | target: http://localhost:8088

2020-10-11 22:39:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:39:48 | entity: <data><node>node_ue8j680203</node><entry><content>content_6mah8c0206</content></entry></data>

2020-10-11 22:39:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:39:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:39:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e09b6b3-d92d-438c-bbb4-8da9d39c6369</value></item-id></result>

2020-10-11 22:39:48 | contains: true

2020-10-11 22:39:53 | [Mutex] waiting for: [user_regular1jixru0202@test-domain.com:message:received:content_6mah8c0206]

2020-10-11 22:39:53 | [Mutex] waiting for: [user_regular1jixru0202@test-domain.com:message:received:content_6mah8c0206]

2020-10-11 22:39:53 | [Mutex] received everything.

2020-10-11 22:39:53 | [Mutex] isItemNotified: user_regular1jixru0202@test-domain.com:message:received:content_6mah8c0206 :: true

2020-10-11 22:39:53 |


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


2020-10-11 22:39:53 | [Mutex] received everything.

2020-10-11 22:39:53 | [Mutex] isItemNotified: node_ue8j680203:subscribe_node:success :: true

2020-10-11 22:39:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:39:53 | command: <data><node>node_ue8j680203</node><expire-at>2020-10-12T05:39:58Z</expire-at><entry><content>content_xu8eyo0207</content></entry></data>

2020-10-11 22:39:53 | target: http://localhost:8088

2020-10-11 22:39:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:39:53 | entity: <data><node>node_ue8j680203</node><expire-at>2020-10-12T05:39:58Z</expire-at><entry><content>content_xu8eyo0207</content></entry></data>

2020-10-11 22:39:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:39:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:39:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>880ba6c3-e527-4668-b89d-a26bb524c26a</value></item-id></result>

2020-10-11 22:39:53 | contains: true

2020-10-11 22:40:01 | [Mutex] waiting for: [user_regular1jixru0202@test-domain.com:message:received:content_xu8eyo0207]

2020-10-11 22:40:16 | [Mutex] timeout. Not received [user_regular1jixru0202@test-domain.com:message:received:content_xu8eyo0207]

2020-10-11 22:40:16 | [Mutex] received everything.

2020-10-11 22:40:16 | [Mutex] isItemNotified: user_regular1jixru0202@test-domain.com:message:received:content_xu8eyo0207 :: false

2020-10-11 22:40:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xu8eyo0207 :: true