Generated by TestNG with ReportNG at 06:21 PDT on Tuesday 12 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.563s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2022-07-12 06:35:55 |

2022-07-12 06:35:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 06:35:55 | ------------------------------------

2022-07-12 06:35:55 | [Mutex] isItemNotified: node_ck13uq0204:exists :: false

2022-07-12 06:35:55 | [Mutex] waiting for: [node_ck13uq0204:create_node]

2022-07-12 06:35:55 | [Mutex] received everything.

2022-07-12 06:35:55 | [Mutex] isItemNotified: node_ck13uq0204:create_node:success :: true

2022-07-12 06:35:55 | [Mutex] waiting for: [node_ck13uq0204:subscribe_node]

2022-07-12 06:35:55 | [Mutex] received everything.

2022-07-12 06:35:55 | [Mutex] isItemNotified: node_ck13uq0204:subscribe_node:success :: true

2022-07-12 06:35:55 |


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


2022-07-12 06:35:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:35:55 | command: <data><node>node_ck13uq0204</node><entry><content>content_162z8a0205</content></entry></data>

2022-07-12 06:35:55 | target: http://localhost:8088

2022-07-12 06:35:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:35:55 | entity: <data><node>node_ck13uq0204</node><entry><content>content_162z8a0205</content></entry></data>

2022-07-12 06:35:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:35:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:35:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5742f61d-b22f-4188-b397-f34f54d6ba97</value></item-id></result>

2022-07-12 06:35:55 | contains: true

2022-07-12 06:35:55 | [Mutex] received everything.

2022-07-12 06:35:55 | [Mutex] isItemNotified: user_regularhppqla0203@test-domain.com:message:received:content_162z8a0205 :: true

2022-07-12 06:35:55 |


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


2022-07-12 06:35:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:35:55 | command: <data><node>node_ck13uq0204</node><expire-at>2022-07-12T13:35:50Z</expire-at><entry><content>content_ipwtjd0206</content></entry></data>

2022-07-12 06:35:55 | target: http://localhost:8088

2022-07-12 06:35:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:35:55 | entity: <data><node>node_ck13uq0204</node><expire-at>2022-07-12T13:35:50Z</expire-at><entry><content>content_ipwtjd0206</content></entry></data>

2022-07-12 06:35:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:35:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:35:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ae4e89bd-d6f9-4446-8e21-31dc5f466442</value></item-id></result>

2022-07-12 06:35:55 | contains: true

2022-07-12 06:35:55 | [Mutex] waiting for: [user_regularhppqla0203@test-domain.com:message:received:content_ipwtjd0206]

2022-07-12 06:36:10 | [Mutex] timeout. Not received [user_regularhppqla0203@test-domain.com:message:received:content_ipwtjd0206]

2022-07-12 06:36:10 | [Mutex] isItemNotified: user_regularhppqla0203@test-domain.com:message:received:content_ipwtjd0206 :: false

2022-07-12 06:36:10 |


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


2022-07-12 06:36:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:36:10 | command: <data><node>node_ck13uq0204</node><entry><content>content_cn42jy0207</content></entry></data>

2022-07-12 06:36:10 | target: http://localhost:8088

2022-07-12 06:36:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:36:10 | entity: <data><node>node_ck13uq0204</node><entry><content>content_cn42jy0207</content></entry></data>

2022-07-12 06:36:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:36:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:36:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d68f3335-96d7-42f7-bf7c-ca9f0df24cb5</value></item-id></result>

2022-07-12 06:36:10 | contains: true

2022-07-12 06:36:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 06:36:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 06:36:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 06:36:15 | [Mutex] waiting for: [user_regularhppqla0203@test-domain.com:message:received:content_cn42jy0207]

2022-07-12 06:36:15 | [Mutex] waiting for: [user_regularhppqla0203@test-domain.com:message:received:content_cn42jy0207]

2022-07-12 06:36:15 | [Mutex] received everything.

2022-07-12 06:36:15 | [Mutex] isItemNotified: user_regularhppqla0203@test-domain.com:message:received:content_cn42jy0207 :: true

2022-07-12 06:36:15 |


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


2022-07-12 06:36:15 | [Mutex] received everything.

2022-07-12 06:36:15 | [Mutex] isItemNotified: node_ck13uq0204:subscribe_node:success :: true

2022-07-12 06:36:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:36:15 | command: <data><node>node_ck13uq0204</node><expire-at>2022-07-12T13:36:20Z</expire-at><entry><content>content_c836710208</content></entry></data>

2022-07-12 06:36:15 | target: http://localhost:8088

2022-07-12 06:36:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:36:15 | entity: <data><node>node_ck13uq0204</node><expire-at>2022-07-12T13:36:20Z</expire-at><entry><content>content_c836710208</content></entry></data>

2022-07-12 06:36:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:36:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:36:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f34cc4e7-f866-4afd-a042-f6879532aa99</value></item-id></result>

2022-07-12 06:36:15 | contains: true

2022-07-12 06:36:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-12 06:36:24 | [Mutex] waiting for: [user_regularhppqla0203@test-domain.com:message:received:content_c836710208]

2022-07-12 06:36:39 | [Mutex] timeout. Not received [user_regularhppqla0203@test-domain.com:message:received:content_c836710208]

2022-07-12 06:36:39 | [Mutex] received everything.

2022-07-12 06:36:39 | [Mutex] isItemNotified: user_regularhppqla0203@test-domain.com:message:received:content_c836710208 :: false

2022-07-12 06:36:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c836710208 :: true