Generated by TestNG with ReportNG at 04:45 PST on Friday 16 December 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.478s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-12-16 05:01:30 |

2022-12-16 05:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-16 05:01:30 | ------------------------------------

2022-12-16 05:01:30 | [Mutex] isItemNotified: node_om3ce20204:exists :: false

2022-12-16 05:01:30 | [Mutex] waiting for: [node_om3ce20204:create_node]

2022-12-16 05:01:30 | [Mutex] waiting for: [node_om3ce20204:create_node]

2022-12-16 05:01:30 | [Mutex] received everything.

2022-12-16 05:01:30 | [Mutex] isItemNotified: node_om3ce20204:create_node:success :: true

2022-12-16 05:01:30 | [Mutex] waiting for: [node_om3ce20204:subscribe_node]

2022-12-16 05:01:30 | [Mutex] waiting for: [node_om3ce20204:subscribe_node]

2022-12-16 05:01:30 | [Mutex] received everything.

2022-12-16 05:01:30 | [Mutex] isItemNotified: node_om3ce20204:subscribe_node:success :: true

2022-12-16 05:01:30 |


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


2022-12-16 05:01:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 05:01:30 | command: <data><node>node_om3ce20204</node><entry><content>content_zc3wjv0205</content></entry></data>

2022-12-16 05:01:30 | target: http://localhost:8088

2022-12-16 05:01:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 05:01:30 | entity: <data><node>node_om3ce20204</node><entry><content>content_zc3wjv0205</content></entry></data>

2022-12-16 05:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 13:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 05:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db4735b4-3891-4b8f-a4b6-3627ab48b17b</value></item-id></result>

2022-12-16 05:01:30 | contains: true

2022-12-16 05:01:30 | [Mutex] received everything.

2022-12-16 05:01:30 | [Mutex] isItemNotified: user_regularoplh080203@test-domain.com:message:received:content_zc3wjv0205 :: true

2022-12-16 05:01:30 |


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


2022-12-16 05:01:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 05:01:30 | command: <data><node>node_om3ce20204</node><expire-at>2022-12-16T13:01:25Z</expire-at><entry><content>content_qi7zd00206</content></entry></data>

2022-12-16 05:01:30 | target: http://localhost:8088

2022-12-16 05:01:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-16 05:01:30 | entity: <data><node>node_om3ce20204</node><expire-at>2022-12-16T13:01:25Z</expire-at><entry><content>content_qi7zd00206</content></entry></data>

2022-12-16 05:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 13:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 05:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c937e02-86e2-4f1e-b621-ed3ce5c0d74f</value></item-id></result>

2022-12-16 05:01:30 | contains: true

2022-12-16 05:01:30 | [Mutex] waiting for: [user_regularoplh080203@test-domain.com:message:received:content_qi7zd00206]

2022-12-16 05:01:45 | [Mutex] timeout. Not received [user_regularoplh080203@test-domain.com:message:received:content_qi7zd00206]

2022-12-16 05:01:45 | [Mutex] isItemNotified: user_regularoplh080203@test-domain.com:message:received:content_qi7zd00206 :: false

2022-12-16 05:01:45 |


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


2022-12-16 05:01:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 05:01:45 | command: <data><node>node_om3ce20204</node><entry><content>content_q7yhpj0207</content></entry></data>

2022-12-16 05:01:45 | target: http://localhost:8088

2022-12-16 05:01:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 05:01:45 | entity: <data><node>node_om3ce20204</node><entry><content>content_q7yhpj0207</content></entry></data>

2022-12-16 05:01:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 13:01:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 05:01:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76a1463b-7058-4c49-8630-b1fa45be5f9e</value></item-id></result>

2022-12-16 05:01:45 | contains: true

2022-12-16 05:01:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-16 05:01:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-16 05:01:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-16 05:01:50 | [Mutex] waiting for: [user_regularoplh080203@test-domain.com:message:received:content_q7yhpj0207]

2022-12-16 05:01:50 | [Mutex] received everything.

2022-12-16 05:01:50 | [Mutex] isItemNotified: user_regularoplh080203@test-domain.com:message:received:content_q7yhpj0207 :: true

2022-12-16 05:01:50 |


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


2022-12-16 05:01:50 | [Mutex] received everything.

2022-12-16 05:01:50 | [Mutex] isItemNotified: node_om3ce20204:subscribe_node:success :: true

2022-12-16 05:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 05:01:50 | command: <data><node>node_om3ce20204</node><expire-at>2022-12-16T13:01:55Z</expire-at><entry><content>content_x6tmp50208</content></entry></data>

2022-12-16 05:01:50 | target: http://localhost:8088

2022-12-16 05:01:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-16 05:01:50 | entity: <data><node>node_om3ce20204</node><expire-at>2022-12-16T13:01:55Z</expire-at><entry><content>content_x6tmp50208</content></entry></data>

2022-12-16 05:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 13:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 05:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7df6a356-dcd3-4c22-b4f5-a9907913bf1d</value></item-id></result>

2022-12-16 05:01:50 | contains: true

2022-12-16 05:01:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-16 05:01:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-16 05:01:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-16 05:01:59 | [Mutex] waiting for: [user_regularoplh080203@test-domain.com:message:received:content_x6tmp50208]

2022-12-16 05:02:14 | [Mutex] timeout. Not received [user_regularoplh080203@test-domain.com:message:received:content_x6tmp50208]

2022-12-16 05:02:14 | [Mutex] received everything.

2022-12-16 05:02:14 | [Mutex] isItemNotified: user_regularoplh080203@test-domain.com:message:received:content_x6tmp50208 :: false

2022-12-16 05:02:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x6tmp50208 :: true