Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 21 June 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 : 44.468s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.537s
2022-06-21 22:45:18 |

2022-06-21 22:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-21 22:45:18 | ------------------------------------

2022-06-21 22:45:18 | [Mutex] isItemNotified: node_f5ohr20204:exists :: false

2022-06-21 22:45:18 | [Mutex] waiting for: [node_f5ohr20204:create_node]

2022-06-21 22:45:18 | [Mutex] received everything.

2022-06-21 22:45:18 | [Mutex] isItemNotified: node_f5ohr20204:create_node:success :: true

2022-06-21 22:45:18 | [Mutex] waiting for: [node_f5ohr20204:subscribe_node]

2022-06-21 22:45:18 | [Mutex] received everything.

2022-06-21 22:45:18 | [Mutex] isItemNotified: node_f5ohr20204:subscribe_node:success :: true

2022-06-21 22:45:18 |


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


2022-06-21 22:45:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:45:18 | command: <data><node>node_f5ohr20204</node><entry><content>content_w4xy740205</content></entry></data>

2022-06-21 22:45:18 | target: http://localhost:8088

2022-06-21 22:45:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-21 22:45:18 | entity: <data><node>node_f5ohr20204</node><entry><content>content_w4xy740205</content></entry></data>

2022-06-21 22:45:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:45:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:45:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>306da341-5cae-4bc2-a153-663399f1a837</value></item-id></result>

2022-06-21 22:45:18 | contains: true

2022-06-21 22:45:18 | [Mutex] waiting for: [user_regularhfnw9w0203@test-domain.com:message:received:content_w4xy740205]

2022-06-21 22:45:18 | [Mutex] received everything.

2022-06-21 22:45:18 | [Mutex] isItemNotified: user_regularhfnw9w0203@test-domain.com:message:received:content_w4xy740205 :: true

2022-06-21 22:45:18 |


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


2022-06-21 22:45:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:45:18 | command: <data><node>node_f5ohr20204</node><expire-at>2022-06-22T05:45:13Z</expire-at><entry><content>content_mzsiz00206</content></entry></data>

2022-06-21 22:45:18 | target: http://localhost:8088

2022-06-21 22:45:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-21 22:45:18 | entity: <data><node>node_f5ohr20204</node><expire-at>2022-06-22T05:45:13Z</expire-at><entry><content>content_mzsiz00206</content></entry></data>

2022-06-21 22:45:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:45:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:45:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b018834-8da4-4675-ad81-80f15e1e705a</value></item-id></result>

2022-06-21 22:45:18 | contains: true

2022-06-21 22:45:18 | [Mutex] waiting for: [user_regularhfnw9w0203@test-domain.com:message:received:content_mzsiz00206]

2022-06-21 22:45:33 | [Mutex] timeout. Not received [user_regularhfnw9w0203@test-domain.com:message:received:content_mzsiz00206]

2022-06-21 22:45:33 | [Mutex] isItemNotified: user_regularhfnw9w0203@test-domain.com:message:received:content_mzsiz00206 :: false

2022-06-21 22:45:33 |


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


2022-06-21 22:45:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:45:33 | command: <data><node>node_f5ohr20204</node><entry><content>content_xq27g70207</content></entry></data>

2022-06-21 22:45:33 | target: http://localhost:8088

2022-06-21 22:45:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-21 22:45:33 | entity: <data><node>node_f5ohr20204</node><entry><content>content_xq27g70207</content></entry></data>

2022-06-21 22:45:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:45:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:45:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>64242b1d-7128-4f51-a92c-de45fc57abf8</value></item-id></result>

2022-06-21 22:45:33 | contains: true

2022-06-21 22:45:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-21 22:45:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-21 22:45:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-21 22:45:38 | [Mutex] waiting for: [user_regularhfnw9w0203@test-domain.com:message:received:content_xq27g70207]

2022-06-21 22:45:38 | [Mutex] received everything.

2022-06-21 22:45:38 | [Mutex] isItemNotified: user_regularhfnw9w0203@test-domain.com:message:received:content_xq27g70207 :: true

2022-06-21 22:45:38 |


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


2022-06-21 22:45:38 | [Mutex] received everything.

2022-06-21 22:45:38 | [Mutex] isItemNotified: node_f5ohr20204:subscribe_node:success :: true

2022-06-21 22:45:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:45:38 | command: <data><node>node_f5ohr20204</node><expire-at>2022-06-22T05:45:43Z</expire-at><entry><content>content_hjzgjy0208</content></entry></data>

2022-06-21 22:45:38 | target: http://localhost:8088

2022-06-21 22:45:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-21 22:45:38 | entity: <data><node>node_f5ohr20204</node><expire-at>2022-06-22T05:45:43Z</expire-at><entry><content>content_hjzgjy0208</content></entry></data>

2022-06-21 22:45:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:45:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:45:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>90e1b608-95c0-413e-a8fb-29f61134252a</value></item-id></result>

2022-06-21 22:45:38 | contains: true

2022-06-21 22:45:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-21 22:45:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-21 22:45:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-21 22:45:46 | [Mutex] waiting for: [user_regularhfnw9w0203@test-domain.com:message:received:content_hjzgjy0208]

2022-06-21 22:46:01 | [Mutex] timeout. Not received [user_regularhfnw9w0203@test-domain.com:message:received:content_hjzgjy0208]

2022-06-21 22:46:01 | [Mutex] received everything.

2022-06-21 22:46:01 | [Mutex] isItemNotified: user_regularhfnw9w0203@test-domain.com:message:received:content_hjzgjy0208 :: false

2022-06-21 22:46:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hjzgjy0208 :: true