Generated by TestNG with ReportNG at 22:23 PDT on Sunday 15 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.007s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.620s
2022-05-15 22:37:24 |

2022-05-15 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-15 22:37:24 | ------------------------------------

2022-05-15 22:37:24 | [Mutex] isItemNotified: node_5bazbx0204:exists :: false

2022-05-15 22:37:24 | [Mutex] waiting for: [node_5bazbx0204:create_node]

2022-05-15 22:37:24 | [Mutex] waiting for: [node_5bazbx0204:create_node]

2022-05-15 22:37:24 | [Mutex] received everything.

2022-05-15 22:37:24 | [Mutex] isItemNotified: node_5bazbx0204:create_node:success :: true

2022-05-15 22:37:24 | [Mutex] waiting for: [node_5bazbx0204:subscribe_node]

2022-05-15 22:37:24 | [Mutex] waiting for: [node_5bazbx0204:subscribe_node]

2022-05-15 22:37:24 | [Mutex] received everything.

2022-05-15 22:37:24 | [Mutex] isItemNotified: node_5bazbx0204:subscribe_node:success :: true

2022-05-15 22:37:24 |


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


2022-05-15 22:37:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 22:37:24 | command: <data><node>node_5bazbx0204</node><entry><content>content_pm2y9n0205</content></entry></data>

2022-05-15 22:37:24 | target: http://localhost:8088

2022-05-15 22:37:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-15 22:37:24 | entity: <data><node>node_5bazbx0204</node><entry><content>content_pm2y9n0205</content></entry></data>

2022-05-15 22:37:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:37:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 22:37:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ee89758-a5ba-42bf-86e5-77c74d298432</value></item-id></result>

2022-05-15 22:37:24 | contains: true

2022-05-15 22:37:24 | [Mutex] received everything.

2022-05-15 22:37:24 | [Mutex] isItemNotified: user_regular5xuvev0203@test-domain.com:message:received:content_pm2y9n0205 :: true

2022-05-15 22:37:24 |


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


2022-05-15 22:37:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 22:37:24 | command: <data><node>node_5bazbx0204</node><expire-at>2022-05-16T05:37:19Z</expire-at><entry><content>content_dk57j70206</content></entry></data>

2022-05-15 22:37:24 | target: http://localhost:8088

2022-05-15 22:37:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-15 22:37:24 | entity: <data><node>node_5bazbx0204</node><expire-at>2022-05-16T05:37:19Z</expire-at><entry><content>content_dk57j70206</content></entry></data>

2022-05-15 22:37:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:37:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 22:37:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2784eb82-b475-4b95-b422-8e11f2688ae4</value></item-id></result>

2022-05-15 22:37:24 | contains: true

2022-05-15 22:37:24 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_dk57j70206]

2022-05-15 22:37:39 | [Mutex] timeout. Not received [user_regular5xuvev0203@test-domain.com:message:received:content_dk57j70206]

2022-05-15 22:37:39 | [Mutex] isItemNotified: user_regular5xuvev0203@test-domain.com:message:received:content_dk57j70206 :: false

2022-05-15 22:37:39 |


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


2022-05-15 22:37:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 22:37:39 | command: <data><node>node_5bazbx0204</node><entry><content>content_o7x0b40207</content></entry></data>

2022-05-15 22:37:39 | target: http://localhost:8088

2022-05-15 22:37:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-15 22:37:39 | entity: <data><node>node_5bazbx0204</node><entry><content>content_o7x0b40207</content></entry></data>

2022-05-15 22:37:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:37:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 22:37:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ad47b2b-2f43-47dd-8b07-bd7730205f21</value></item-id></result>

2022-05-15 22:37:39 | contains: true

2022-05-15 22:37:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-15 22:37:45 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_o7x0b40207]

2022-05-15 22:37:45 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_o7x0b40207]

2022-05-15 22:37:45 | [Mutex] received everything.

2022-05-15 22:37:45 | [Mutex] isItemNotified: user_regular5xuvev0203@test-domain.com:message:received:content_o7x0b40207 :: true

2022-05-15 22:37:45 |


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


2022-05-15 22:37:45 | [Mutex] received everything.

2022-05-15 22:37:45 | [Mutex] isItemNotified: node_5bazbx0204:subscribe_node:success :: true

2022-05-15 22:37:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 22:37:45 | command: <data><node>node_5bazbx0204</node><expire-at>2022-05-16T05:37:50Z</expire-at><entry><content>content_1gxfb40208</content></entry></data>

2022-05-15 22:37:45 | target: http://localhost:8088

2022-05-15 22:37:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-15 22:37:45 | entity: <data><node>node_5bazbx0204</node><expire-at>2022-05-16T05:37:50Z</expire-at><entry><content>content_1gxfb40208</content></entry></data>

2022-05-15 22:37:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:37:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 22:37:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>57b6af48-b586-4f02-851f-fdc0d56cf7f9</value></item-id></result>

2022-05-15 22:37:45 | contains: true

2022-05-15 22:37:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-15 22:37:53 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_1gxfb40208]

2022-05-15 22:37:53 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_1gxfb40208]

2022-05-15 22:37:53 | [Mutex] waiting for: [user_regular5xuvev0203@test-domain.com:message:received:content_1gxfb40208]

2022-05-15 22:38:08 | [Mutex] timeout. Not received [user_regular5xuvev0203@test-domain.com:message:received:content_1gxfb40208]

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

2022-05-15 22:38:08 | [Mutex] isItemNotified: user_regular5xuvev0203@test-domain.com:message:received:content_1gxfb40208 :: false

2022-05-15 22:38:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1gxfb40208 :: true