Generated by TestNG with ReportNG at 22:13 PDT on Sunday 11 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 : 45.570s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.853s
2020-10-11 22:29:57 |

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

2020-10-11 22:29:57 | ------------------------------------

2020-10-11 22:29:57 | [Mutex] isItemNotified: node_3hdu6c0203:exists :: false

2020-10-11 22:29:57 | [Mutex] waiting for: [node_3hdu6c0203:create_node]

2020-10-11 22:29:57 | [Mutex] received everything.

2020-10-11 22:29:57 | [Mutex] isItemNotified: node_3hdu6c0203:create_node:success :: true

2020-10-11 22:29:57 | [Mutex] waiting for: [node_3hdu6c0203:subscribe_node]

2020-10-11 22:29:57 | [Mutex] waiting for: [node_3hdu6c0203:subscribe_node]

2020-10-11 22:29:57 | [Mutex] received everything.

2020-10-11 22:29:57 | [Mutex] isItemNotified: node_3hdu6c0203:subscribe_node:success :: true

2020-10-11 22:29:57 |


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


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

2020-10-11 22:29:57 | command: <data><node>node_3hdu6c0203</node><entry><content>content_oventv0204</content></entry></data>

2020-10-11 22:29:57 | target: http://localhost:8088

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

2020-10-11 22:29:57 | entity: <data><node>node_3hdu6c0203</node><entry><content>content_oventv0204</content></entry></data>

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

2020-10-11 22:29:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2394a57a-4faa-484a-9d69-15882756a04d</value></item-id></result>

2020-10-11 22:29:57 | contains: true

2020-10-11 22:29:57 | [Mutex] received everything.

2020-10-11 22:29:57 | [Mutex] isItemNotified: user_regularhrtyy40202@test-domain.com:message:received:content_oventv0204 :: true

2020-10-11 22:29:57 |


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


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

2020-10-11 22:29:57 | command: <data><node>node_3hdu6c0203</node><expire-at>2020-10-12T05:29:52Z</expire-at><entry><content>content_ef9t4i0205</content></entry></data>

2020-10-11 22:29:57 | target: http://localhost:8088

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

2020-10-11 22:29:57 | entity: <data><node>node_3hdu6c0203</node><expire-at>2020-10-12T05:29:52Z</expire-at><entry><content>content_ef9t4i0205</content></entry></data>

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

2020-10-11 22:29:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6aed4fc-aaef-466f-a084-d8b77ffe6620</value></item-id></result>

2020-10-11 22:29:57 | contains: true

2020-10-11 22:29:57 | [Mutex] waiting for: [user_regularhrtyy40202@test-domain.com:message:received:content_ef9t4i0205]

2020-10-11 22:30:12 | [Mutex] timeout. Not received [user_regularhrtyy40202@test-domain.com:message:received:content_ef9t4i0205]

2020-10-11 22:30:12 | [Mutex] isItemNotified: user_regularhrtyy40202@test-domain.com:message:received:content_ef9t4i0205 :: false

2020-10-11 22:30:12 |


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


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

2020-10-11 22:30:12 | command: <data><node>node_3hdu6c0203</node><entry><content>content_2gvb830206</content></entry></data>

2020-10-11 22:30:12 | target: http://localhost:8088

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

2020-10-11 22:30:12 | entity: <data><node>node_3hdu6c0203</node><entry><content>content_2gvb830206</content></entry></data>

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

2020-10-11 22:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7fdd0496-e313-4a9a-860c-2f9115a5b7d9</value></item-id></result>

2020-10-11 22:30:12 | contains: true

2020-10-11 22:30:18 | [Mutex] waiting for: [user_regularhrtyy40202@test-domain.com:message:received:content_2gvb830206]

2020-10-11 22:30:18 | [Mutex] received everything.

2020-10-11 22:30:18 | [Mutex] isItemNotified: user_regularhrtyy40202@test-domain.com:message:received:content_2gvb830206 :: true

2020-10-11 22:30:18 |


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


2020-10-11 22:30:18 | [Mutex] received everything.

2020-10-11 22:30:18 | [Mutex] isItemNotified: node_3hdu6c0203:subscribe_node:success :: true

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

2020-10-11 22:30:18 | command: <data><node>node_3hdu6c0203</node><expire-at>2020-10-12T05:30:23Z</expire-at><entry><content>content_xakd7k0207</content></entry></data>

2020-10-11 22:30:18 | target: http://localhost:8088

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

2020-10-11 22:30:18 | entity: <data><node>node_3hdu6c0203</node><expire-at>2020-10-12T05:30:23Z</expire-at><entry><content>content_xakd7k0207</content></entry></data>

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

2020-10-11 22:30:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2945a95-8869-47af-8083-2a5e965ff2b1</value></item-id></result>

2020-10-11 22:30:18 | contains: true

2020-10-11 22:30:26 | [Mutex] waiting for: [user_regularhrtyy40202@test-domain.com:message:received:content_xakd7k0207]

2020-10-11 22:30:26 | [Mutex] waiting for: [user_regularhrtyy40202@test-domain.com:message:received:content_xakd7k0207]

2020-10-11 22:30:41 | [Mutex] timeout. Not received [user_regularhrtyy40202@test-domain.com:message:received:content_xakd7k0207]

2020-10-11 22:30:41 | [Mutex] received everything.

2020-10-11 22:30:41 | [Mutex] isItemNotified: user_regularhrtyy40202@test-domain.com:message:received:content_xakd7k0207 :: false

2020-10-11 22:30:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xakd7k0207 :: true