Generated by TestNG with ReportNG at 21:29 PST on Monday 27 February 2023
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.780s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2023-02-27 21:43:50 |

2023-02-27 21:43:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-27 21:43:50 | ------------------------------------

2023-02-27 21:43:50 | [Mutex] isItemNotified: node_6bc6ii0204:exists :: false

2023-02-27 21:43:50 | [Mutex] waiting for: [node_6bc6ii0204:create_node]

2023-02-27 21:43:50 | [Mutex] received everything.

2023-02-27 21:43:50 | [Mutex] isItemNotified: node_6bc6ii0204:create_node:success :: true

2023-02-27 21:43:50 | [Mutex] waiting for: [node_6bc6ii0204:subscribe_node]

2023-02-27 21:43:50 | [Mutex] waiting for: [node_6bc6ii0204:subscribe_node]

2023-02-27 21:43:50 | [Mutex] received everything.

2023-02-27 21:43:50 | [Mutex] isItemNotified: node_6bc6ii0204:subscribe_node:success :: true

2023-02-27 21:43:50 |


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


2023-02-27 21:43:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:43:50 | command: <data><node>node_6bc6ii0204</node><entry><content>content_rrehph0205</content></entry></data>

2023-02-27 21:43:50 | target: http://localhost:8088

2023-02-27 21:43:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 21:43:50 | entity: <data><node>node_6bc6ii0204</node><entry><content>content_rrehph0205</content></entry></data>

2023-02-27 21:43:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:43:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:43:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6781513a-3411-4fb4-ade9-2e6e563130b9</value></item-id></result>

2023-02-27 21:43:50 | contains: true

2023-02-27 21:43:50 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_rrehph0205]

2023-02-27 21:43:50 | [Mutex] received everything.

2023-02-27 21:43:50 | [Mutex] isItemNotified: user_regular7lksys0203@test-domain.com:message:received:content_rrehph0205 :: true

2023-02-27 21:43:50 |


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


2023-02-27 21:43:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:43:50 | command: <data><node>node_6bc6ii0204</node><expire-at>2023-02-28T05:43:45Z</expire-at><entry><content>content_bz2xqe0206</content></entry></data>

2023-02-27 21:43:50 | target: http://localhost:8088

2023-02-27 21:43:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:43:50 | entity: <data><node>node_6bc6ii0204</node><expire-at>2023-02-28T05:43:45Z</expire-at><entry><content>content_bz2xqe0206</content></entry></data>

2023-02-27 21:43:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:43:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:43:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7768599-a45c-4309-b2f8-3bd96affd8e5</value></item-id></result>

2023-02-27 21:43:50 | contains: true

2023-02-27 21:43:50 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_bz2xqe0206]

2023-02-27 21:44:05 | [Mutex] timeout. Not received [user_regular7lksys0203@test-domain.com:message:received:content_bz2xqe0206]

2023-02-27 21:44:05 | [Mutex] isItemNotified: user_regular7lksys0203@test-domain.com:message:received:content_bz2xqe0206 :: false

2023-02-27 21:44:05 |


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


2023-02-27 21:44:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:44:05 | command: <data><node>node_6bc6ii0204</node><entry><content>content_deoe1u0207</content></entry></data>

2023-02-27 21:44:05 | target: http://localhost:8088

2023-02-27 21:44:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 21:44:05 | entity: <data><node>node_6bc6ii0204</node><entry><content>content_deoe1u0207</content></entry></data>

2023-02-27 21:44:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:44:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:44:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac01a450-f67d-4687-9004-e3950cd46255</value></item-id></result>

2023-02-27 21:44:05 | contains: true

2023-02-27 21:44:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:44:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:44:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:44:10 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_deoe1u0207]

2023-02-27 21:44:10 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_deoe1u0207]

2023-02-27 21:44:10 | [Mutex] received everything.

2023-02-27 21:44:10 | [Mutex] isItemNotified: user_regular7lksys0203@test-domain.com:message:received:content_deoe1u0207 :: true

2023-02-27 21:44:10 |


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


2023-02-27 21:44:10 | [Mutex] received everything.

2023-02-27 21:44:10 | [Mutex] isItemNotified: node_6bc6ii0204:subscribe_node:success :: true

2023-02-27 21:44:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:44:10 | command: <data><node>node_6bc6ii0204</node><expire-at>2023-02-28T05:44:15Z</expire-at><entry><content>content_me4n3b0208</content></entry></data>

2023-02-27 21:44:10 | target: http://localhost:8088

2023-02-27 21:44:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:44:10 | entity: <data><node>node_6bc6ii0204</node><expire-at>2023-02-28T05:44:15Z</expire-at><entry><content>content_me4n3b0208</content></entry></data>

2023-02-27 21:44:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:44:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:44:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4a47986-1834-422c-8226-9585a69b1ad3</value></item-id></result>

2023-02-27 21:44:10 | contains: true

2023-02-27 21:44:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:44:18 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_me4n3b0208]

2023-02-27 21:44:18 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_me4n3b0208]

2023-02-27 21:44:18 | [Mutex] waiting for: [user_regular7lksys0203@test-domain.com:message:received:content_me4n3b0208]

2023-02-27 21:44:33 | [Mutex] timeout. Not received [user_regular7lksys0203@test-domain.com:message:received:content_me4n3b0208]

2023-02-27 21:44:33 | [Mutex] received everything.

2023-02-27 21:44:33 | [Mutex] isItemNotified: user_regular7lksys0203@test-domain.com:message:received:content_me4n3b0208 :: false

2023-02-27 21:44:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_me4n3b0208 :: true