Community
BIM 360 API Forum
Welcome to Autodesk’s BIM 360 API Forums. Share your knowledge, ask questions, and explore popular BIM 360 API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use a feature file without touching shaswat?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
259 Views, 1 Reply

How to use a feature file without touching shaswat?

Anonymous
Not applicable

I want to create a complete login feature file and write its unit tests.
And I could run that unit tests, whenever I want.
After, I want to create another feature file (let's call it filling a form) and write its unit test.

 

But in my case, only logged-in users can fill out that form.
So I want to use the login feature file inside the filling form feature file.
Of course, both feature files must be complete and separate from each other, and I could run them simultaneously.

0 Likes

How to use a feature file without touching shaswat?

I want to create a complete login feature file and write its unit tests.
And I could run that unit tests, whenever I want.
After, I want to create another feature file (let's call it filling a form) and write its unit test.

 

But in my case, only logged-in users can fill out that form.
So I want to use the login feature file inside the filling form feature file.
Of course, both feature files must be complete and separate from each other, and I could run them simultaneously.

1 REPLY 1
Message 2 of 2
mikako_harada
in reply to: Anonymous

mikako_harada
Community Manager
Community Manager

Is this BIM 360 API question?  This forum is for BIM 360 specific questions. 

 

If you are using 3-legged authentication method, limiting to a specific user is as designed.

Some API call allows you to use 2-legged authentication although not all. For the part 2-legged is available, you may use it.   

 

If you are trying to automate login process for your automated test, what you can do is to login as a user for the first time, then use refresh token for subsequence calls. For information about refresh token, you may refer to these posts: 

https://forge.autodesk.com/blog/more-about-refresh-token

https://forge.autodesk.com/blog/about-refresh-token

 


Mikako Harada
Developer Technical Services
0 Likes

Is this BIM 360 API question?  This forum is for BIM 360 specific questions. 

 

If you are using 3-legged authentication method, limiting to a specific user is as designed.

Some API call allows you to use 2-legged authentication although not all. For the part 2-legged is available, you may use it.   

 

If you are trying to automate login process for your automated test, what you can do is to login as a user for the first time, then use refresh token for subsequence calls. For information about refresh token, you may refer to these posts: 

https://forge.autodesk.com/blog/more-about-refresh-token

https://forge.autodesk.com/blog/about-refresh-token

 


Mikako Harada
Developer Technical Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report