Generated by TestNG with ReportNG at 22:20 PDT on Sunday 18 September 2022
root@ed1b7dd8a1b3 / 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.636s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2022-09-18 22:34:47 |

2022-09-18 22:34:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-18 22:34:47 | ------------------------------------

2022-09-18 22:34:47 | [Mutex] isItemNotified: node_fmgcnl0204:exists :: false

2022-09-18 22:34:47 | [Mutex] waiting for: [node_fmgcnl0204:create_node]

2022-09-18 22:34:47 | [Mutex] received everything.

2022-09-18 22:34:47 | [Mutex] isItemNotified: node_fmgcnl0204:create_node:success :: true

2022-09-18 22:34:47 | [Mutex] waiting for: [node_fmgcnl0204:subscribe_node]

2022-09-18 22:34:47 | [Mutex] waiting for: [node_fmgcnl0204:subscribe_node]

2022-09-18 22:34:47 | [Mutex] received everything.

2022-09-18 22:34:47 | [Mutex] isItemNotified: node_fmgcnl0204:subscribe_node:success :: true

2022-09-18 22:34:47 |


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


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

2022-09-18 22:34:47 | command: <data><node>node_fmgcnl0204</node><entry><content>content_ajlhhg0205</content></entry></data>

2022-09-18 22:34:47 | target: http://localhost:8088

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

2022-09-18 22:34:47 | entity: <data><node>node_fmgcnl0204</node><entry><content>content_ajlhhg0205</content></entry></data>

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

2022-09-18 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c72d8c37-6c21-40d6-838f-6feb0ffb99b0</value></item-id></result>

2022-09-18 22:34:47 | contains: true

2022-09-18 22:34:47 | [Mutex] received everything.

2022-09-18 22:34:47 | [Mutex] isItemNotified: user_regularlsrbv20203@test-domain.com:message:received:content_ajlhhg0205 :: true

2022-09-18 22:34:47 |


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


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

2022-09-18 22:34:47 | command: <data><node>node_fmgcnl0204</node><expire-at>2022-09-19T05:34:42Z</expire-at><entry><content>content_pnyapb0206</content></entry></data>

2022-09-18 22:34:47 | target: http://localhost:8088

2022-09-18 22:34:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 22:34:47 | entity: <data><node>node_fmgcnl0204</node><expire-at>2022-09-19T05:34:42Z</expire-at><entry><content>content_pnyapb0206</content></entry></data>

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

2022-09-18 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e7d4f55e-a1d9-4bfe-905c-47cba43bf518</value></item-id></result>

2022-09-18 22:34:47 | contains: true

2022-09-18 22:34:47 | [Mutex] waiting for: [user_regularlsrbv20203@test-domain.com:message:received:content_pnyapb0206]

2022-09-18 22:35:02 | [Mutex] timeout. Not received [user_regularlsrbv20203@test-domain.com:message:received:content_pnyapb0206]

2022-09-18 22:35:02 | [Mutex] isItemNotified: user_regularlsrbv20203@test-domain.com:message:received:content_pnyapb0206 :: false

2022-09-18 22:35:02 |


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


2022-09-18 22:35:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 22:35:02 | command: <data><node>node_fmgcnl0204</node><entry><content>content_x4d9tl0207</content></entry></data>

2022-09-18 22:35:02 | target: http://localhost:8088

2022-09-18 22:35:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-18 22:35:02 | entity: <data><node>node_fmgcnl0204</node><entry><content>content_x4d9tl0207</content></entry></data>

2022-09-18 22:35:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 05:35:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 22:35:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3323d6b-18c1-4443-801a-d31838b7f775</value></item-id></result>

2022-09-18 22:35:02 | contains: true

2022-09-18 22:35:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 22:35:08 | [Mutex] waiting for: [user_regularlsrbv20203@test-domain.com:message:received:content_x4d9tl0207]

2022-09-18 22:35:08 | [Mutex] received everything.

2022-09-18 22:35:08 | [Mutex] isItemNotified: user_regularlsrbv20203@test-domain.com:message:received:content_x4d9tl0207 :: true

2022-09-18 22:35:08 |


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


2022-09-18 22:35:08 | [Mutex] received everything.

2022-09-18 22:35:08 | [Mutex] isItemNotified: node_fmgcnl0204:subscribe_node:success :: true

2022-09-18 22:35:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 22:35:08 | command: <data><node>node_fmgcnl0204</node><expire-at>2022-09-19T05:35:13Z</expire-at><entry><content>content_28flv70208</content></entry></data>

2022-09-18 22:35:08 | target: http://localhost:8088

2022-09-18 22:35:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 22:35:08 | entity: <data><node>node_fmgcnl0204</node><expire-at>2022-09-19T05:35:13Z</expire-at><entry><content>content_28flv70208</content></entry></data>

2022-09-18 22:35:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 05:35:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 22:35:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f2b8cb53-ed30-48ec-a058-5e82fbe601e1</value></item-id></result>

2022-09-18 22:35:08 | contains: true

2022-09-18 22:35:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 22:35:16 | [Mutex] waiting for: [user_regularlsrbv20203@test-domain.com:message:received:content_28flv70208]

2022-09-18 22:35:31 | [Mutex] timeout. Not received [user_regularlsrbv20203@test-domain.com:message:received:content_28flv70208]

2022-09-18 22:35:31 | [Mutex] received everything.

2022-09-18 22:35:31 | [Mutex] isItemNotified: user_regularlsrbv20203@test-domain.com:message:received:content_28flv70208 :: false

2022-09-18 22:35:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_28flv70208 :: true