Generated by TestNG with ReportNG at 22:22 PDT on Sunday 08 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.024s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2022-05-08 22:38:20 |

2022-05-08 22:38:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-08 22:38:20 | ------------------------------------

2022-05-08 22:38:20 | [Mutex] isItemNotified: node_iazizh0204:exists :: false

2022-05-08 22:38:20 | [Mutex] waiting for: [node_iazizh0204:create_node]

2022-05-08 22:38:20 | [Mutex] received everything.

2022-05-08 22:38:20 | [Mutex] isItemNotified: node_iazizh0204:create_node:success :: true

2022-05-08 22:38:20 | [Mutex] waiting for: [node_iazizh0204:subscribe_node]

2022-05-08 22:38:20 | [Mutex] waiting for: [node_iazizh0204:subscribe_node]

2022-05-08 22:38:20 | [Mutex] received everything.

2022-05-08 22:38:20 | [Mutex] isItemNotified: node_iazizh0204:subscribe_node:success :: true

2022-05-08 22:38:20 |


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


2022-05-08 22:38:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:38:20 | command: <data><node>node_iazizh0204</node><entry><content>content_qfrg60205</content></entry></data>

2022-05-08 22:38:20 | target: http://localhost:8088

2022-05-08 22:38:20 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-05-08 22:38:20 | entity: <data><node>node_iazizh0204</node><entry><content>content_qfrg60205</content></entry></data>

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

2022-05-08 22:38:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3932a4eb-4165-49ae-93ad-548211fd11d1</value></item-id></result>

2022-05-08 22:38:20 | contains: true

2022-05-08 22:38:20 | [Mutex] received everything.

2022-05-08 22:38:20 | [Mutex] isItemNotified: user_regularv96fgz0203@test-domain.com:message:received:content_qfrg60205 :: true

2022-05-08 22:38:20 |


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


2022-05-08 22:38:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:38:20 | command: <data><node>node_iazizh0204</node><expire-at>2022-05-09T05:38:15Z</expire-at><entry><content>content_mw36vo0206</content></entry></data>

2022-05-08 22:38:20 | target: http://localhost:8088

2022-05-08 22:38:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 22:38:20 | entity: <data><node>node_iazizh0204</node><expire-at>2022-05-09T05:38:15Z</expire-at><entry><content>content_mw36vo0206</content></entry></data>

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

2022-05-08 22:38:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37b3954f-a802-4fca-b58f-c39dc37bf7a0</value></item-id></result>

2022-05-08 22:38:20 | contains: true

2022-05-08 22:38:20 | [Mutex] waiting for: [user_regularv96fgz0203@test-domain.com:message:received:content_mw36vo0206]

2022-05-08 22:38:35 | [Mutex] timeout. Not received [user_regularv96fgz0203@test-domain.com:message:received:content_mw36vo0206]

2022-05-08 22:38:35 | [Mutex] isItemNotified: user_regularv96fgz0203@test-domain.com:message:received:content_mw36vo0206 :: false

2022-05-08 22:38:35 |


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


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

2022-05-08 22:38:35 | command: <data><node>node_iazizh0204</node><entry><content>content_taecan0207</content></entry></data>

2022-05-08 22:38:35 | target: http://localhost:8088

2022-05-08 22:38:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 22:38:35 | entity: <data><node>node_iazizh0204</node><entry><content>content_taecan0207</content></entry></data>

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

2022-05-08 22:38:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec3355cf-5360-4ce7-b97a-840f404ef648</value></item-id></result>

2022-05-08 22:38:35 | contains: true

2022-05-08 22:38:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-08 22:38:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-08 22:38:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-08 22:38:40 | [Mutex] waiting for: [user_regularv96fgz0203@test-domain.com:message:received:content_taecan0207]

2022-05-08 22:38:40 | [Mutex] received everything.

2022-05-08 22:38:40 | [Mutex] isItemNotified: user_regularv96fgz0203@test-domain.com:message:received:content_taecan0207 :: true

2022-05-08 22:38:40 |


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


2022-05-08 22:38:40 | [Mutex] received everything.

2022-05-08 22:38:40 | [Mutex] isItemNotified: node_iazizh0204:subscribe_node:success :: true

2022-05-08 22:38:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:38:40 | command: <data><node>node_iazizh0204</node><expire-at>2022-05-09T05:38:45Z</expire-at><entry><content>content_ozm3uy0208</content></entry></data>

2022-05-08 22:38:40 | target: http://localhost:8088

2022-05-08 22:38:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 22:38:40 | entity: <data><node>node_iazizh0204</node><expire-at>2022-05-09T05:38:45Z</expire-at><entry><content>content_ozm3uy0208</content></entry></data>

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

2022-05-08 22:38:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3259db0-9df9-4c17-be52-ee2e48676324</value></item-id></result>

2022-05-08 22:38:40 | contains: true

2022-05-08 22:38:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-08 22:38:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-08 22:38:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-08 22:38:48 | [Mutex] waiting for: [user_regularv96fgz0203@test-domain.com:message:received:content_ozm3uy0208]

2022-05-08 22:38:48 | [Mutex] waiting for: [user_regularv96fgz0203@test-domain.com:message:received:content_ozm3uy0208]

2022-05-08 22:39:03 | [Mutex] timeout. Not received [user_regularv96fgz0203@test-domain.com:message:received:content_ozm3uy0208]

2022-05-08 22:39:03 | [Mutex] received everything.

2022-05-08 22:39:03 | [Mutex] isItemNotified: user_regularv96fgz0203@test-domain.com:message:received:content_ozm3uy0208 :: false

2022-05-08 22:39:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ozm3uy0208 :: true