Generated by TestNG with ReportNG at 23:14 PDT on Tuesday 20 October 2020
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 : 46.052s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.828s
2020-10-20 23:31:31 |

2020-10-20 23:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-20 23:31:31 | ------------------------------------

2020-10-20 23:31:31 | [Mutex] isItemNotified: node_568ek00203:exists :: false

2020-10-20 23:31:31 | [Mutex] waiting for: [node_568ek00203:create_node]

2020-10-20 23:31:31 | [Mutex] received everything.

2020-10-20 23:31:31 | [Mutex] isItemNotified: node_568ek00203:create_node:success :: true

2020-10-20 23:31:31 | [Mutex] waiting for: [node_568ek00203:subscribe_node]

2020-10-20 23:31:31 | [Mutex] waiting for: [node_568ek00203:subscribe_node]

2020-10-20 23:31:31 | [Mutex] received everything.

2020-10-20 23:31:31 | [Mutex] isItemNotified: node_568ek00203:subscribe_node:success :: true

2020-10-20 23:31:31 |


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


2020-10-20 23:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:31:31 | command: <data><node>node_568ek00203</node><entry><content>content_75fhxu0204</content></entry></data>

2020-10-20 23:31:31 | target: http://localhost:8088

2020-10-20 23:31:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:31:31 | entity: <data><node>node_568ek00203</node><entry><content>content_75fhxu0204</content></entry></data>

2020-10-20 23:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d65f97c2-75ff-4ee0-8be2-7635deff037b</value></item-id></result>

2020-10-20 23:31:31 | contains: true

2020-10-20 23:31:31 | [Mutex] waiting for: [user_regulara0kl8o0202@test-domain.com:message:received:content_75fhxu0204]

2020-10-20 23:31:31 | [Mutex] received everything.

2020-10-20 23:31:31 | [Mutex] isItemNotified: user_regulara0kl8o0202@test-domain.com:message:received:content_75fhxu0204 :: true

2020-10-20 23:31:31 |


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


2020-10-20 23:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:31:31 | command: <data><node>node_568ek00203</node><expire-at>2020-10-21T06:31:26Z</expire-at><entry><content>content_wuix2t0205</content></entry></data>

2020-10-20 23:31:31 | target: http://localhost:8088

2020-10-20 23:31:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:31:31 | entity: <data><node>node_568ek00203</node><expire-at>2020-10-21T06:31:26Z</expire-at><entry><content>content_wuix2t0205</content></entry></data>

2020-10-20 23:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>83cdf0a2-39be-4a73-a966-13af44e8827a</value></item-id></result>

2020-10-20 23:31:31 | contains: true

2020-10-20 23:31:31 | [Mutex] waiting for: [user_regulara0kl8o0202@test-domain.com:message:received:content_wuix2t0205]

2020-10-20 23:31:46 | [Mutex] timeout. Not received [user_regulara0kl8o0202@test-domain.com:message:received:content_wuix2t0205]

2020-10-20 23:31:46 | [Mutex] isItemNotified: user_regulara0kl8o0202@test-domain.com:message:received:content_wuix2t0205 :: false

2020-10-20 23:31:46 |


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


2020-10-20 23:31:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:31:46 | command: <data><node>node_568ek00203</node><entry><content>content_senzaw0206</content></entry></data>

2020-10-20 23:31:46 | target: http://localhost:8088

2020-10-20 23:31:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:31:46 | entity: <data><node>node_568ek00203</node><entry><content>content_senzaw0206</content></entry></data>

2020-10-20 23:31:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:31:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:31:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d349552-f17c-49d2-895c-33c5f73ef58e</value></item-id></result>

2020-10-20 23:31:46 | contains: true

2020-10-20 23:31:52 | [Mutex] waiting for: [user_regulara0kl8o0202@test-domain.com:message:received:content_senzaw0206]

2020-10-20 23:31:52 | [Mutex] received everything.

2020-10-20 23:31:52 | [Mutex] isItemNotified: user_regulara0kl8o0202@test-domain.com:message:received:content_senzaw0206 :: true

2020-10-20 23:31:52 |


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


2020-10-20 23:31:52 | [Mutex] received everything.

2020-10-20 23:31:52 | [Mutex] isItemNotified: node_568ek00203:subscribe_node:success :: true

2020-10-20 23:31:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:31:52 | command: <data><node>node_568ek00203</node><expire-at>2020-10-21T06:31:57Z</expire-at><entry><content>content_qb9u980207</content></entry></data>

2020-10-20 23:31:52 | target: http://localhost:8088

2020-10-20 23:31:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:31:52 | entity: <data><node>node_568ek00203</node><expire-at>2020-10-21T06:31:57Z</expire-at><entry><content>content_qb9u980207</content></entry></data>

2020-10-20 23:31:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 06:31:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 23:31:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2cfd656-3e43-4c1b-9228-6470f67d3d26</value></item-id></result>

2020-10-20 23:31:52 | contains: true

2020-10-20 23:32:00 | [Mutex] waiting for: [user_regulara0kl8o0202@test-domain.com:message:received:content_qb9u980207]

2020-10-20 23:32:00 | [Mutex] waiting for: [user_regulara0kl8o0202@test-domain.com:message:received:content_qb9u980207]

2020-10-20 23:32:15 | [Mutex] timeout. Not received [user_regulara0kl8o0202@test-domain.com:message:received:content_qb9u980207]

2020-10-20 23:32:15 | [Mutex] received everything.

2020-10-20 23:32:15 | [Mutex] isItemNotified: user_regulara0kl8o0202@test-domain.com:message:received:content_qb9u980207 :: false

2020-10-20 23:32:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qb9u980207 :: true