Generated by TestNG with ReportNG at 22:30 PDT on Friday 17 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.951s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.645s
2022-06-17 22:52:34 |

2022-06-17 22:52:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-17 22:52:34 | ------------------------------------

2022-06-17 22:52:34 | [Mutex] isItemNotified: node_7uxk4e0204:exists :: false

2022-06-17 22:52:34 | [Mutex] waiting for: [node_7uxk4e0204:create_node]

2022-06-17 22:52:34 | [Mutex] received everything.

2022-06-17 22:52:34 | [Mutex] isItemNotified: node_7uxk4e0204:create_node:success :: true

2022-06-17 22:52:34 | [Mutex] waiting for: [node_7uxk4e0204:subscribe_node]

2022-06-17 22:52:34 | [Mutex] received everything.

2022-06-17 22:52:34 | [Mutex] isItemNotified: node_7uxk4e0204:subscribe_node:success :: true

2022-06-17 22:52:34 |


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


2022-06-17 22:52:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:52:34 | command: <data><node>node_7uxk4e0204</node><entry><content>content_6drpi60205</content></entry></data>

2022-06-17 22:52:34 | target: http://localhost:8088

2022-06-17 22:52:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-17 22:52:34 | entity: <data><node>node_7uxk4e0204</node><entry><content>content_6drpi60205</content></entry></data>

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

2022-06-17 22:52:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f97b634-5563-426e-a936-28898891003a</value></item-id></result>

2022-06-17 22:52:34 | contains: true

2022-06-17 22:52:34 | [Mutex] received everything.

2022-06-17 22:52:34 | [Mutex] isItemNotified: user_regulariey0mh0203@test-domain.com:message:received:content_6drpi60205 :: true

2022-06-17 22:52:34 |


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


2022-06-17 22:52:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:52:34 | command: <data><node>node_7uxk4e0204</node><expire-at>2022-06-18T05:52:29Z</expire-at><entry><content>content_mfg0fa0206</content></entry></data>

2022-06-17 22:52:34 | target: http://localhost:8088

2022-06-17 22:52:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-17 22:52:34 | entity: <data><node>node_7uxk4e0204</node><expire-at>2022-06-18T05:52:29Z</expire-at><entry><content>content_mfg0fa0206</content></entry></data>

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

2022-06-17 22:52:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ee7f8e55-d253-47ff-b088-7c7b969e7630</value></item-id></result>

2022-06-17 22:52:34 | contains: true

2022-06-17 22:52:34 | [Mutex] waiting for: [user_regulariey0mh0203@test-domain.com:message:received:content_mfg0fa0206]

2022-06-17 22:52:49 | [Mutex] timeout. Not received [user_regulariey0mh0203@test-domain.com:message:received:content_mfg0fa0206]

2022-06-17 22:52:49 | [Mutex] isItemNotified: user_regulariey0mh0203@test-domain.com:message:received:content_mfg0fa0206 :: false

2022-06-17 22:52:49 |


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


2022-06-17 22:52:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:52:49 | command: <data><node>node_7uxk4e0204</node><entry><content>content_4tisfh0207</content></entry></data>

2022-06-17 22:52:49 | target: http://localhost:8088

2022-06-17 22:52:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-17 22:52:49 | entity: <data><node>node_7uxk4e0204</node><entry><content>content_4tisfh0207</content></entry></data>

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

2022-06-17 22:52:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5197f122-2249-4216-b64a-d651400b7095</value></item-id></result>

2022-06-17 22:52:49 | contains: true

2022-06-17 22:52:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-17 22:52:55 | [Mutex] waiting for: [user_regulariey0mh0203@test-domain.com:message:received:content_4tisfh0207]

2022-06-17 22:52:55 | [Mutex] received everything.

2022-06-17 22:52:55 | [Mutex] isItemNotified: user_regulariey0mh0203@test-domain.com:message:received:content_4tisfh0207 :: true

2022-06-17 22:52:55 |


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


2022-06-17 22:52:55 | [Mutex] received everything.

2022-06-17 22:52:55 | [Mutex] isItemNotified: node_7uxk4e0204:subscribe_node:success :: true

2022-06-17 22:52:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:52:55 | command: <data><node>node_7uxk4e0204</node><expire-at>2022-06-18T05:53:00Z</expire-at><entry><content>content_7u61hg0208</content></entry></data>

2022-06-17 22:52:55 | target: http://localhost:8088

2022-06-17 22:52:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-17 22:52:55 | entity: <data><node>node_7uxk4e0204</node><expire-at>2022-06-18T05:53:00Z</expire-at><entry><content>content_7u61hg0208</content></entry></data>

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

2022-06-17 22:52:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88806776-f640-4e2a-973a-a890b15c522d</value></item-id></result>

2022-06-17 22:52:55 | contains: true

2022-06-17 22:53:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-17 22:53:03 | [Mutex] waiting for: [user_regulariey0mh0203@test-domain.com:message:received:content_7u61hg0208]

2022-06-17 22:53:03 | [Mutex] waiting for: [user_regulariey0mh0203@test-domain.com:message:received:content_7u61hg0208]

2022-06-17 22:53:03 | [Mutex] waiting for: [user_regulariey0mh0203@test-domain.com:message:received:content_7u61hg0208]

2022-06-17 22:53:18 | [Mutex] timeout. Not received [user_regulariey0mh0203@test-domain.com:message:received:content_7u61hg0208]

2022-06-17 22:53:18 | [Mutex] received everything.

2022-06-17 22:53:18 | [Mutex] isItemNotified: user_regulariey0mh0203@test-domain.com:message:received:content_7u61hg0208 :: false

2022-06-17 22:53:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7u61hg0208 :: true