Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 06 September 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.873s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.621s
2022-09-06 22:33:52 |

2022-09-06 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-06 22:33:52 | ------------------------------------

2022-09-06 22:33:52 | [Mutex] isItemNotified: node_v2309f0204:exists :: false

2022-09-06 22:33:52 | [Mutex] waiting for: [node_v2309f0204:create_node]

2022-09-06 22:33:52 | [Mutex] received everything.

2022-09-06 22:33:52 | [Mutex] isItemNotified: node_v2309f0204:create_node:success :: true

2022-09-06 22:33:52 | [Mutex] waiting for: [node_v2309f0204:subscribe_node]

2022-09-06 22:33:52 | [Mutex] waiting for: [node_v2309f0204:subscribe_node]

2022-09-06 22:33:52 | [Mutex] received everything.

2022-09-06 22:33:52 | [Mutex] isItemNotified: node_v2309f0204:subscribe_node:success :: true

2022-09-06 22:33:52 |


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


2022-09-06 22:33:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-06 22:33:52 | command: <data><node>node_v2309f0204</node><entry><content>content_jlrw3j0205</content></entry></data>

2022-09-06 22:33:52 | target: http://localhost:8088

2022-09-06 22:33:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-06 22:33:52 | entity: <data><node>node_v2309f0204</node><entry><content>content_jlrw3j0205</content></entry></data>

2022-09-06 22:33:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 05:33:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-06 22:33:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac1cfe9e-80a2-46f3-bf44-731c972c123e</value></item-id></result>

2022-09-06 22:33:52 | contains: true

2022-09-06 22:33:52 | [Mutex] received everything.

2022-09-06 22:33:52 | [Mutex] isItemNotified: user_regulark5dv220203@test-domain.com:message:received:content_jlrw3j0205 :: true

2022-09-06 22:33:52 |


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


2022-09-06 22:33:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-06 22:33:52 | command: <data><node>node_v2309f0204</node><expire-at>2022-09-07T05:33:47Z</expire-at><entry><content>content_z8qez50206</content></entry></data>

2022-09-06 22:33:52 | target: http://localhost:8088

2022-09-06 22:33:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-06 22:33:52 | entity: <data><node>node_v2309f0204</node><expire-at>2022-09-07T05:33:47Z</expire-at><entry><content>content_z8qez50206</content></entry></data>

2022-09-06 22:33:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 05:33:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-06 22:33:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1e24542-2dac-40e8-b526-ba48c8c115b9</value></item-id></result>

2022-09-06 22:33:52 | contains: true

2022-09-06 22:33:52 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_z8qez50206]

2022-09-06 22:34:07 | [Mutex] timeout. Not received [user_regulark5dv220203@test-domain.com:message:received:content_z8qez50206]

2022-09-06 22:34:07 | [Mutex] isItemNotified: user_regulark5dv220203@test-domain.com:message:received:content_z8qez50206 :: false

2022-09-06 22:34:07 |


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


2022-09-06 22:34:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-06 22:34:07 | command: <data><node>node_v2309f0204</node><entry><content>content_scb5710207</content></entry></data>

2022-09-06 22:34:07 | target: http://localhost:8088

2022-09-06 22:34:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-06 22:34:07 | entity: <data><node>node_v2309f0204</node><entry><content>content_scb5710207</content></entry></data>

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

2022-09-06 22:34:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c589fc2-3cfd-4c2d-aee0-84f9764b0889</value></item-id></result>

2022-09-06 22:34:07 | contains: true

2022-09-06 22:34:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-06 22:34:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-06 22:34:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-06 22:34:12 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_scb5710207]

2022-09-06 22:34:12 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_scb5710207]

2022-09-06 22:34:12 | [Mutex] received everything.

2022-09-06 22:34:12 | [Mutex] isItemNotified: user_regulark5dv220203@test-domain.com:message:received:content_scb5710207 :: true

2022-09-06 22:34:12 |


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


2022-09-06 22:34:12 | [Mutex] received everything.

2022-09-06 22:34:12 | [Mutex] isItemNotified: node_v2309f0204:subscribe_node:success :: true

2022-09-06 22:34:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-06 22:34:12 | command: <data><node>node_v2309f0204</node><expire-at>2022-09-07T05:34:17Z</expire-at><entry><content>content_bcst80208</content></entry></data>

2022-09-06 22:34:12 | target: http://localhost:8088

2022-09-06 22:34:12 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-09-06 22:34:12 | entity: <data><node>node_v2309f0204</node><expire-at>2022-09-07T05:34:17Z</expire-at><entry><content>content_bcst80208</content></entry></data>

2022-09-06 22:34:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 05:34:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-06 22:34:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6af6f7d2-7ec4-441b-a6d4-b967fe99b5dc</value></item-id></result>

2022-09-06 22:34:12 | contains: true

2022-09-06 22:34:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-06 22:34:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-06 22:34:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-06 22:34:21 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_bcst80208]

2022-09-06 22:34:21 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_bcst80208]

2022-09-06 22:34:21 | [Mutex] waiting for: [user_regulark5dv220203@test-domain.com:message:received:content_bcst80208]

2022-09-06 22:34:36 | [Mutex] timeout. Not received [user_regulark5dv220203@test-domain.com:message:received:content_bcst80208]

2022-09-06 22:34:36 | [Mutex] received everything.

2022-09-06 22:34:36 | [Mutex] isItemNotified: user_regulark5dv220203@test-domain.com:message:received:content_bcst80208 :: false

2022-09-06 22:34:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bcst80208 :: true