Generated by TestNG with ReportNG at 22:46 PDT on Sunday 03 July 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.518s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.594s
2022-07-03 23:00:39 |

2022-07-03 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-03 23:00:39 | ------------------------------------

2022-07-03 23:00:39 | [Mutex] isItemNotified: node_2tzom10204:exists :: false

2022-07-03 23:00:39 | [Mutex] waiting for: [node_2tzom10204:create_node]

2022-07-03 23:00:39 | [Mutex] received everything.

2022-07-03 23:00:39 | [Mutex] isItemNotified: node_2tzom10204:create_node:success :: true

2022-07-03 23:00:39 | [Mutex] waiting for: [node_2tzom10204:subscribe_node]

2022-07-03 23:00:39 | [Mutex] waiting for: [node_2tzom10204:subscribe_node]

2022-07-03 23:00:39 | [Mutex] received everything.

2022-07-03 23:00:39 | [Mutex] isItemNotified: node_2tzom10204:subscribe_node:success :: true

2022-07-03 23:00:39 |


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


2022-07-03 23:00:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 23:00:39 | command: <data><node>node_2tzom10204</node><entry><content>content_ijm1cf0205</content></entry></data>

2022-07-03 23:00:39 | target: http://localhost:8088

2022-07-03 23:00:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 23:00:39 | entity: <data><node>node_2tzom10204</node><entry><content>content_ijm1cf0205</content></entry></data>

2022-07-03 23:00:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 06:00:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 23:00:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4554ad1-8665-40db-906f-2722342d577a</value></item-id></result>

2022-07-03 23:00:39 | contains: true

2022-07-03 23:00:39 | [Mutex] received everything.

2022-07-03 23:00:39 | [Mutex] isItemNotified: user_regularl9dn5q0203@test-domain.com:message:received:content_ijm1cf0205 :: true

2022-07-03 23:00:39 |


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


2022-07-03 23:00:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 23:00:39 | command: <data><node>node_2tzom10204</node><expire-at>2022-07-04T06:00:34Z</expire-at><entry><content>content_hdl53a0206</content></entry></data>

2022-07-03 23:00:39 | target: http://localhost:8088

2022-07-03 23:00:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 23:00:39 | entity: <data><node>node_2tzom10204</node><expire-at>2022-07-04T06:00:34Z</expire-at><entry><content>content_hdl53a0206</content></entry></data>

2022-07-03 23:00:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 06:00:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 23:00:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>66ba6145-f498-482d-81e2-207a4b52988b</value></item-id></result>

2022-07-03 23:00:39 | contains: true

2022-07-03 23:00:39 | [Mutex] waiting for: [user_regularl9dn5q0203@test-domain.com:message:received:content_hdl53a0206]

2022-07-03 23:00:54 | [Mutex] timeout. Not received [user_regularl9dn5q0203@test-domain.com:message:received:content_hdl53a0206]

2022-07-03 23:00:54 | [Mutex] isItemNotified: user_regularl9dn5q0203@test-domain.com:message:received:content_hdl53a0206 :: false

2022-07-03 23:00:54 |


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


2022-07-03 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 23:00:54 | command: <data><node>node_2tzom10204</node><entry><content>content_iw2trb0207</content></entry></data>

2022-07-03 23:00:54 | target: http://localhost:8088

2022-07-03 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 23:00:54 | entity: <data><node>node_2tzom10204</node><entry><content>content_iw2trb0207</content></entry></data>

2022-07-03 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>226083fd-3019-46d4-97a3-19d5d816a365</value></item-id></result>

2022-07-03 23:00:54 | contains: true

2022-07-03 23:00:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-03 23:00:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-03 23:00:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-03 23:00:59 | [Mutex] waiting for: [user_regularl9dn5q0203@test-domain.com:message:received:content_iw2trb0207]

2022-07-03 23:00:59 | [Mutex] received everything.

2022-07-03 23:00:59 | [Mutex] isItemNotified: user_regularl9dn5q0203@test-domain.com:message:received:content_iw2trb0207 :: true

2022-07-03 23:00:59 |


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


2022-07-03 23:00:59 | [Mutex] received everything.

2022-07-03 23:00:59 | [Mutex] isItemNotified: node_2tzom10204:subscribe_node:success :: true

2022-07-03 23:00:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-03 23:00:59 | command: <data><node>node_2tzom10204</node><expire-at>2022-07-04T06:01:04Z</expire-at><entry><content>content_x73ozp0208</content></entry></data>

2022-07-03 23:00:59 | target: http://localhost:8088

2022-07-03 23:00:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-03 23:00:59 | entity: <data><node>node_2tzom10204</node><expire-at>2022-07-04T06:01:04Z</expire-at><entry><content>content_x73ozp0208</content></entry></data>

2022-07-03 23:00:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 06:00:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-03 23:00:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c03e77fb-95ab-429c-a045-53238f666ddb</value></item-id></result>

2022-07-03 23:00:59 | contains: true

2022-07-03 23:01:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-03 23:01:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-03 23:01:07 | [Mutex] waiting for: [user_regularl9dn5q0203@test-domain.com:message:received:content_x73ozp0208]

2022-07-03 23:01:22 | [Mutex] timeout. Not received [user_regularl9dn5q0203@test-domain.com:message:received:content_x73ozp0208]

2022-07-03 23:01:22 | [Mutex] received everything.

2022-07-03 23:01:22 | [Mutex] isItemNotified: user_regularl9dn5q0203@test-domain.com:message:received:content_x73ozp0208 :: false

2022-07-03 23:01:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x73ozp0208 :: true