Questions tagged [atg-dust]

ATG DUST is a framework for building JUnit tests for applications built on the ATG Dynamo platform.

This framework allows one to quickly write test code that depends up Nucleus or ATG Repositories. By using this framework one can drastically cut down on development time. It takes only a few seconds to start up a test with a repository, but it may take multiple minutes to start up an application server. To get started with DUST, take a look at http://atgdust.sourceforge.net/first-test.html. This page will walk you through the process of running a basic test which starts Nucleus. After that, read the other getting started guides to describe how to create standalone Junit tests which can startup repositories and use the DynamoHttpServletResponse classes.

9 questions
1
vote
1 answer

ATG AngularJs, Spring

I am Very beginner in ATG and Spring, I have done UI in AngularJs. is it possible to use AngularJs for Oracle ATG web commerce? And how can I use spring in between to give http request to AngularJs? and is there any guide for these?. I was not able…
Syam Nath
  • 45
  • 10
1
vote
3 answers

how to retrieve orders from ordertools component in atg or how to test orderlookup droplet api

iam trying to orderlookup droplet API by passing some parameters.I assume that the parameters which are mandatory is userId and organisationIds which i have passed and additionally i have also passed "state" parameter.All these params are passed…
0
votes
1 answer

Error: Your session expired due to inactivity. ATG REST API session confirmation Number Missmatch

I am working on ATG portal using REST API, all ATG API's are tested using PostMan. It is giving an error when I started working in JS. below is the Test Code: http({ method : "GET", url :…
Syam Nath
  • 45
  • 10
0
votes
0 answers

Can we mock a method with powermockito and testng

I am writing a TestNG testcase which extends atgdustcase. I need to mock a method in class B. This class B is injected into class A using properties file in ATG. Class C is a test class for testing functionality of class A. D is a test class which…
0
votes
1 answer

ATG customized repository

How to create a customized repository in ATG with certain fields like name id and so on. And how to query the same information according to name ID or any other fields.
0
votes
1 answer

Oracle ATG BCC Deployment

How to deploy an Html content to BCC server in Oracle ATG? I need to deploy the Html page from my Bcc, so it gets reflected in my production server. I am new to ATG, so i don't know how to start with the basic scratch work. Things i have started as …
0
votes
0 answers

ATG Dust Project Setup and Steps

I am new to ATG. I have an existing project resynchronized with MKS repository which is built using Ant Script. I need to write a ATG Dust project to test my application. How should i do it. Can you please help me with the steps and some sample…
user2390438
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

atg.repository.RemovedItemException when trying to add an item to Repository

I have used InternalProfileFormHandler to add an item InternalProfileRepository. It has successfully added the item(user:iuser310002) to the intended repository. Once added, I have accessed dyn/admin to open the repository and removed item I have…
Buddha
  • 4,339
  • 2
  • 27
  • 51
0
votes
1 answer

Request parameters not recognised by DropletInvoker.invokeDroplet

I'm trying to invoke RQLQueryForEach droplet from using DUST's DropletInvoker by using below code. HeadPipelineServlet dynamoHandler = (HeadPipelineServlet)…
Buddha
  • 4,339
  • 2
  • 27
  • 51