Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 11 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.638s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.536s
2023-07-11 22:31:11 |

2023-07-11 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-11 22:31:11 | ------------------------------------

2023-07-11 22:31:11 | [Mutex] isItemNotified: node_4vi4jb0208:exists :: false

2023-07-11 22:31:11 | [Mutex] waiting for: [node_4vi4jb0208:create_node]

2023-07-11 22:31:11 | [Mutex] received everything.

2023-07-11 22:31:11 | [Mutex] isItemNotified: node_4vi4jb0208:create_node:success :: true

2023-07-11 22:31:11 | [Mutex] waiting for: [node_4vi4jb0208:subscribe_node]

2023-07-11 22:31:11 | [Mutex] received everything.

2023-07-11 22:31:11 | [Mutex] isItemNotified: node_4vi4jb0208:subscribe_node:success :: true

2023-07-11 22:31:11 |


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


2023-07-11 22:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:11 | command: <data><node>node_4vi4jb0208</node><entry><content>content_twt04o0209</content></entry></data>

2023-07-11 22:31:11 | target: http://localhost:8088

2023-07-11 22:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 22:31:11 | entity: <data><node>node_4vi4jb0208</node><entry><content>content_twt04o0209</content></entry></data>

2023-07-11 22:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f2dd105-021f-4181-868f-0ba37ee987bf</value></item-id></result>

2023-07-11 22:31:11 | contains: true

2023-07-11 22:31:11 | [Mutex] waiting for: [user_regularz601bp0207@test-domain.com:message:received:content_twt04o0209]

2023-07-11 22:31:11 | [Mutex] received everything.

2023-07-11 22:31:11 | [Mutex] isItemNotified: user_regularz601bp0207@test-domain.com:message:received:content_twt04o0209 :: true

2023-07-11 22:31:11 |


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


2023-07-11 22:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:11 | command: <data><node>node_4vi4jb0208</node><expire-at>2023-07-12T05:31:06Z</expire-at><entry><content>content_ho1hpp0210</content></entry></data>

2023-07-11 22:31:11 | target: http://localhost:8088

2023-07-11 22:31:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 22:31:11 | entity: <data><node>node_4vi4jb0208</node><expire-at>2023-07-12T05:31:06Z</expire-at><entry><content>content_ho1hpp0210</content></entry></data>

2023-07-11 22:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>216eb0b3-7131-476a-a570-816e3a815749</value></item-id></result>

2023-07-11 22:31:11 | contains: true

2023-07-11 22:31:11 | [Mutex] waiting for: [user_regularz601bp0207@test-domain.com:message:received:content_ho1hpp0210]

2023-07-11 22:31:26 | [Mutex] timeout. Not received [user_regularz601bp0207@test-domain.com:message:received:content_ho1hpp0210]

2023-07-11 22:31:26 | [Mutex] isItemNotified: user_regularz601bp0207@test-domain.com:message:received:content_ho1hpp0210 :: false

2023-07-11 22:31:26 |


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


2023-07-11 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:26 | command: <data><node>node_4vi4jb0208</node><entry><content>content_xarxvc0211</content></entry></data>

2023-07-11 22:31:26 | target: http://localhost:8088

2023-07-11 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 22:31:26 | entity: <data><node>node_4vi4jb0208</node><entry><content>content_xarxvc0211</content></entry></data>

2023-07-11 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1aa87e8-1e17-4c93-bdbb-9adb16cfb0c7</value></item-id></result>

2023-07-11 22:31:26 | contains: true

2023-07-11 22:31:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-11 22:31:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-11 22:31:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-11 22:31:31 | [Mutex] waiting for: [user_regularz601bp0207@test-domain.com:message:received:content_xarxvc0211]

2023-07-11 22:31:31 | [Mutex] received everything.

2023-07-11 22:31:31 | [Mutex] isItemNotified: user_regularz601bp0207@test-domain.com:message:received:content_xarxvc0211 :: true

2023-07-11 22:31:31 |


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


2023-07-11 22:31:31 | [Mutex] received everything.

2023-07-11 22:31:31 | [Mutex] isItemNotified: node_4vi4jb0208:subscribe_node:success :: true

2023-07-11 22:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:31 | command: <data><node>node_4vi4jb0208</node><expire-at>2023-07-12T05:31:36Z</expire-at><entry><content>content_b9cecj0212</content></entry></data>

2023-07-11 22:31:31 | target: http://localhost:8088

2023-07-11 22:31:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 22:31:31 | entity: <data><node>node_4vi4jb0208</node><expire-at>2023-07-12T05:31:36Z</expire-at><entry><content>content_b9cecj0212</content></entry></data>

2023-07-11 22:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>70614358-5829-49a6-a2ab-deb59002ac6d</value></item-id></result>

2023-07-11 22:31:31 | contains: true

2023-07-11 22:31:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-11 22:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-11 22:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-11 22:31:40 | [Mutex] waiting for: [user_regularz601bp0207@test-domain.com:message:received:content_b9cecj0212]

2023-07-11 22:31:40 | [Mutex] waiting for: [user_regularz601bp0207@test-domain.com:message:received:content_b9cecj0212]

2023-07-11 22:31:55 | [Mutex] timeout. Not received [user_regularz601bp0207@test-domain.com:message:received:content_b9cecj0212]

2023-07-11 22:31:55 | [Mutex] received everything.

2023-07-11 22:31:55 | [Mutex] isItemNotified: user_regularz601bp0207@test-domain.com:message:received:content_b9cecj0212 :: false

2023-07-11 22:31:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b9cecj0212 :: true